mirror of
https://github.com/denoland/deno.git
synced 2025-01-10 16:11:13 -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 */
|
/** A foreign function as defined by its parameter and result types */
|
||||||
export interface ForeignFunction {
|
export interface ForeignFunction {
|
||||||
parameters: NativeType[];
|
parameters: (NativeType | "buffer")[];
|
||||||
result: NativeType;
|
result: NativeType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue