summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2021-10-08 20:02:57 +0530
committerGitHub <noreply@github.com>2021-10-08 16:32:57 +0200
commit2155e7545ff0149414f01c9079f99349d96e9f6b (patch)
tree50b799cc2d276a8932bf3009d23aaf76ebb1b2b3 /cli
parent74e5b68682d4d2503e4af5bac3b98067bc58f275 (diff)
fix(ext/ffi): missing "buffer" type definitions (#12371)
Diffstat (limited to 'cli')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index db59980ec..763393e50 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -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;
}