mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[emscripten] Fix addFunction arg type (#42974)
This commit is contained in:
parent
460862aa68
commit
b08de708c1
2
types/emscripten/index.d.ts
vendored
2
types/emscripten/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user