Skip to content

Commit

Permalink
docs: document template literal for plugin-object
Browse files Browse the repository at this point in the history
  • Loading branch information
mausworks committed Dec 1, 2023
1 parent 52c578f commit a437844
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin-array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type ArrayAPIPlugin<T extends any[] | null> = Plugin<

/**
* Adds convenience methods for working with arrays.
* @template T The type of the state, must be an array type..
* @template T The type of the state, must be an array type.
* @example
* ```ts
* import storeHook from "tyin/hook";
Expand Down
1 change: 1 addition & 0 deletions src/plugin-object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const mergeLeft = <T extends ObjectLike | null, U = Partial<T>>(
/**
* A plugin that adds object methods to the store.
* @param options (Optional) Options for the plugin.
* @template T The type of the state, must be an object type.
* @example
* ```ts
* import storeHook from "tyin/hook";
Expand Down

0 comments on commit a437844

Please sign in to comment.