From 5680d33dd91af30d085ecd991e74dd56e367e8ea Mon Sep 17 00:00:00 2001 From: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com> Date: Tue, 11 Jan 2022 11:51:16 +0530 Subject: feat(ext/ffi): support alias names for symbol definitions (#13090) --- cli/dts/lib.deno.unstable.d.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli') 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`. */ -- cgit v1.2.3