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 11:51:16 +0530
committerGitHub <noreply@github.com>2022-01-11 07:21:16 +0100
commit5680d33dd91af30d085ecd991e74dd56e367e8ea (patch)
treea706ec4b60e66b9d79e74cabba3d683e738f4ecc /cli/dts/lib.deno.unstable.d.ts
parent91f6c5fc7e6f66f0e963c5cfbec281da4bcfc496 (diff)
feat(ext/ffi): support alias names for symbol definitions (#13090)
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index a371f37d1..4b43c181b 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -126,6 +126,8 @@ declare namespace Deno {
Result extends NativeType = NativeType,
NonBlocking extends boolean = boolean,
> {
+ /** Name of the symbol, defaults to the key name in symbols object. */
+ name?: string;
parameters: Parameters;
result: Result;
/** When true, function calls will run on a dedicated blocking thread and will return a Promise resolving to the `result`. */