Skip to content

Commit 3a7aa8d

Browse files
relax register types so it can be used on the clients
1 parent 2f123d4 commit 3a7aa8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ export interface Plugin {
229229
options?: any;
230230
register: {
231231
register: (
232-
options: unknown,
233-
dependencies: unknown,
234-
next: (error?: unknown) => void
232+
options: any,
233+
dependencies: any,
234+
next: (error?: Error) => void
235235
) => void;
236236
execute: (...args: unknown[]) => unknown;
237237
dependencies?: string[];

0 commit comments

Comments
 (0)