mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
fix(ext/ffi): missing "buffer" type definitions (#12371)
This commit is contained in:
parent
74e5b68682
commit
2155e7545f
1 changed files with 1 additions and 1 deletions
2
cli/dts/lib.deno.unstable.d.ts
vendored
2
cli/dts/lib.deno.unstable.d.ts
vendored
|
@ -121,7 +121,7 @@ declare namespace Deno {
|
|||
|
||||
/** A foreign function as defined by its parameter and result types */
|
||||
export interface ForeignFunction {
|
||||
parameters: NativeType[];
|
||||
parameters: (NativeType | "buffer")[];
|
||||
result: NativeType;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue