Skip to content

Commit

Permalink
fix store type
Browse files Browse the repository at this point in the history
  • Loading branch information
awmleer committed Nov 12, 2019
1 parent 68197a4 commit 6acea75
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": "reto",
"version": "0.8.2",
"version": "0.8.3",
"main": "index.js",
"repository": "https://github.com/awmleer/reto",
"description": "React store with hooks.",
Expand Down
2 changes: 1 addition & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Context, default as React} from 'react'
import {Container} from './container'

export interface Store<P extends unknown[] = unknown[], V = unknown> {
export interface Store<P extends any[] = any[], V = any> {
(...args: P): V
displayName?: string
// defaultProps?
Expand Down

0 comments on commit 6acea75

Please sign in to comment.