Skip to content

Commit

Permalink
refactor: remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Sep 20, 2018
1 parent 5888736 commit 3a47e40
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ interface SpyCreator<S> {
reset: (spy: S) => any
}

type DefaultSpyCreator = SpyCreator<jest.Mock>

interface StoreConstructorOptions<S extends Dict, G extends Dict, Spy> {
getters?: G
state?: S
Expand All @@ -30,10 +28,3 @@ export class Store<S extends Dict, G extends Dict, Spy = jest.Mock> {
reset(): void
private _initialize(): void
}

// interface StoreInstance<Spy, S extends Dict, G extends Dict> {
// }

// export interface Store<Spy, State extends Dict, Getters extends Dict> {
// new (options: StoreConstructorOptions<Spy, State, Getters>): StoreInstance<Spy, State, Getters>
// }

0 comments on commit 3a47e40

Please sign in to comment.