Skip to content

Commit

Permalink
Merge pull request #2 from samuelgja/feat/add-parameter
Browse files Browse the repository at this point in the history
feat: update
  • Loading branch information
samuelgja authored Nov 22, 2024
2 parents 42a2bd8 + f39f20e commit bd76494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "muya",
"version": "2.0.0",
"version": "2.0.1",
"author": "[email protected]",
"repository": "https://github.com/samuelgjabel/muya",
"main": "cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type IsEqual<T = unknown> = (a: T, b: T) => boolean
export type SetStateCb<T> = (value: T | Awaited<T>) => Awaited<T>
export type SetValue<T> = SetStateCb<T> | Awaited<T>
export type DefaultValue<T> = T | (() => T)
export type Listener<T> = (listener: (value?: T) => void) => () => void
export type Listener<T> = (listener: (value: T) => void) => () => void
export interface Cache<T> {
current?: T
previous?: T
Expand Down

0 comments on commit bd76494

Please sign in to comment.