mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
[emscripten] Fix addFunction arg type (#42974)
This commit is contained in:
Vendored
+1
-1
@@ -271,7 +271,7 @@ declare function writeAsciiToMemory(str: string, buffer: number, dontAddNull: bo
|
||||
declare function addRunDependency(id: any): void;
|
||||
declare function removeRunDependency(id: any): void;
|
||||
|
||||
declare function addFunction(func: () => any, signature?: string): number;
|
||||
declare function addFunction(func: (...args: any[]) => any, signature?: string): number;
|
||||
declare function removeFunction(funcPtr: number): void;
|
||||
|
||||
declare var ALLOC_NORMAL: number;
|
||||
|
||||
Reference in New Issue
Block a user