We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09536a6 commit cbc7956Copy full SHA for cbc7956
src/index.d.ts
@@ -162,7 +162,7 @@ interface APIs<M extends Models> {
162
}
163
164
// v3.0
165
-type ModelType<InitStateType = any, ActionKeys = any, ExtContext = any> = {
+type ModelType<InitStateType = any, ActionKeys = any, ExtContext = {}> = {
166
actions: {
167
[P in keyof ActionKeys]: Action<
168
InitStateType,
0 commit comments