Skip to content

Commit

Permalink
fix: correct args type for AbstractEngine init
Browse files Browse the repository at this point in the history
  • Loading branch information
sebtiz13 committed Apr 21, 2023
1 parent 08f7717 commit 8c6aade
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/engine/AbstractEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export abstract class AbstractEngine<TPlugin extends Plugin> {
this.configType = `engine-${this.pluginName}`;
}

async init(): Promise<any> {
async init(...args: unknown[]): Promise<any> {
// Can be used to inject other services into the engine
}
protected abstract onCreate(
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kuzzle-plugin-commons",
"version": "1.0.7",
"version": "1.0.8",
"description": "Common classes for developping Kuzzle plugins",
"author": "The Kuzzle Team <[email protected]>",
"license": "Apache 2",
Expand Down

0 comments on commit 8c6aade

Please sign in to comment.