Skip to content

Commit 7d96a55

Browse files
committed
ffi: add binary parameter to internal binding type
Add the optional binary parameter to the DynamicLibrary constructor declaration to match the native binding introduced in #65909. Signed-off-by: HoonDongKang <d159123@naver.com>
1 parent 04904eb commit 7d96a55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎typings/internalBinding/ffi.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare namespace InternalFFIBinding {
3232
}
3333

3434
class DynamicLibrary {
35-
constructor(path: string | null);
35+
constructor(path: string | null, binary?: ArrayBufferView);
3636

3737
readonly path: string;
3838
readonly symbols: Record<string, bigint>;

0 commit comments

Comments
 (0)