Skip to content

Commit

Permalink
Work around TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Mar 15, 2021
1 parent 92cf869 commit 9aeb9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function createModel<
>,
TFinalModelCreators
>;
export function createModel(initialContext: object, creators?) {
export function createModel(initialContext: object, creators?): unknown {
const eventCreators = creators?.events;

const model: Model<any, any, any> = {
Expand Down

0 comments on commit 9aeb9e0

Please sign in to comment.