Skip to content

Commit 6acea75

Browse files
committed
fix store type
1 parent 68197a4 commit 6acea75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reto",
3-
"version": "0.8.2",
3+
"version": "0.8.3",
44
"main": "index.js",
55
"repository": "https://github.com/awmleer/reto",
66
"description": "React store with hooks.",

src/store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {Context, default as React} from 'react'
22
import {Container} from './container'
33

4-
export interface Store<P extends unknown[] = unknown[], V = unknown> {
4+
export interface Store<P extends any[] = any[], V = any> {
55
(...args: P): V
66
displayName?: string
77
// defaultProps?

0 commit comments

Comments
 (0)