Skip to content

Commit 1d54ded

Browse files
test(overmind): fix derived test
1 parent 83902b6 commit 1d54ded

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/node_modules/overmind/src/derived.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Overmind, TAction, TDerive, StateObject } from './'
1+
import { Overmind, TAction, TDerive, TStateObject } from './'
22

33
type State = {
44
foo: string
@@ -23,7 +23,7 @@ describe.only('Derived', () => {
2323
state: typeof state
2424
}
2525

26-
type Derive<Parent extends StateObject, Value> = TDerive<
26+
type Derive<Parent extends TStateObject, Value> = TDerive<
2727
Config,
2828
Parent,
2929
Value
@@ -60,7 +60,7 @@ describe.only('Derived', () => {
6060
actions: typeof config.actions
6161
}
6262
type Action<Input = void> = TAction<Config, Input>
63-
type Derive<Parent extends StateObject, Value> = TDerive<
63+
type Derive<Parent extends TStateObject, Value> = TDerive<
6464
Config,
6565
Parent,
6666
Value
@@ -110,7 +110,7 @@ describe.only('Derived', () => {
110110
actions: typeof config.actions
111111
}
112112
type Action<Input = void> = TAction<Config, Input>
113-
type Derive<Parent extends StateObject, Value> = TDerive<
113+
type Derive<Parent extends TStateObject, Value> = TDerive<
114114
Config,
115115
Parent,
116116
Value
@@ -147,7 +147,7 @@ describe.only('Derived', () => {
147147
actions: typeof config.actions
148148
}
149149
type Action<Input = void> = TAction<Config, Input>
150-
type Derive<Parent extends StateObject, Value> = TDerive<
150+
type Derive<Parent extends TStateObject, Value> = TDerive<
151151
Config,
152152
Parent,
153153
Value

0 commit comments

Comments
 (0)