From 2155e7545ff0149414f01c9079f99349d96e9f6b Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Fri, 8 Oct 2021 20:02:57 +0530 Subject: [PATCH] fix(ext/ffi): missing "buffer" type definitions (#12371) --- cli/dts/lib.deno.unstable.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index db59980ec0..763393e504 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; }