summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorDjDeveloper <43033058+DjDeveloperr@users.noreply.github.com>2022-01-11 15:01:52 +0530
committerGitHub <noreply@github.com>2022-01-11 15:01:52 +0530
commita7ea93b978d366a214a9fdad085d1c9a1a0c3abf (patch)
tree5235de63bebf5097bdb681e9610e31477aab69b8 /cli/dts/lib.deno.unstable.d.ts
parent5680d33dd91af30d085ecd991e74dd56e367e8ea (diff)
fix(ext/ffi): `pointer` type can accept `null` (#13335)
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-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 4b43c181b..b9e9b4d2e 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -151,7 +151,7 @@ declare namespace Deno {
type StaticForeignFunctionParameter<T> = T extends "void" ? void
: T extends StaticNativeNumberType ? number
- : T extends "pointer" ? Deno.UnsafePointer | Deno.TypedArray
+ : T extends "pointer" ? Deno.UnsafePointer | Deno.TypedArray | null
: unknown;
/** Infers a foreign function parameter list. */