Skip to content

Commit

Permalink
🔧 fix: Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Romainlg29 committed Sep 30, 2024
1 parent aec4c62 commit 9f4776a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const App = () => {
<div className="toast toast-top toast-start animate-in">
<div className="alert flex items-center justify-center">
<h1 className="font-semibold">use-broadcast-ts</h1>
<button className="btn btn-sm btn-neutral">v1.6.0</button>
<button className="btn btn-sm btn-neutral">v1.7.1</button>
</div>
</div>

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "use-broadcast-ts",
"version": "1.7.0",
"version": "1.7.1",
"description": "Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export type Shared = <
>(
f: StateCreator<T, Mps, Mcs>,
options?: SharedOptions
) => StateCreator<T, [], []>;
) => StateCreator<T, Mps, Mcs>;

/**
* Type implementation of the Shared function
Expand Down

0 comments on commit 9f4776a

Please sign in to comment.