mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
* Use the right types for the callback * Update the apply method * Add paramters to callback * Fix lint errors
This commit is contained in:
Vendored
+2
-2
@@ -25,9 +25,9 @@ interface F1 extends NodeJS.EventEmitter {
|
||||
init(initState: string): F1;
|
||||
|
||||
destroy(): void;
|
||||
apply(): void;
|
||||
apply(pathToTarget: string, target: any, parserDefinition: any): void;
|
||||
|
||||
go(state: string, callback?: (...args: any[]) => void): F1;
|
||||
go(state: string, callback?: (state: any, currentState: any) => void): F1;
|
||||
set(state: string): F1;
|
||||
step(deltaTime: number): F1;
|
||||
update(): F1;
|
||||
|
||||
Reference in New Issue
Block a user