Skip to content

Commit

Permalink
add return this.engine
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsonliu committed Aug 25, 2023
1 parent 9d984b5 commit b5a030c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.engine.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class CherryEngine extends CherryStatic {
/** @type {import('./Engine').default}*/
// @ts-ignore hack Cherry Instance
this.engine = new Engine(opts, { options: opts });
// @ts-ignore
return this.engine;
}
}

Expand Down

0 comments on commit b5a030c

Please sign in to comment.