From be9e3c430fdd58cfdd36cb9d6eba076e1b74d2b7 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Mon, 24 Apr 2023 22:24:18 +0200 Subject: docs: add categories to APIs without (#18826) --- cli/tsc/dts/lib.deno.unstable.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts') diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 9c4bd5d2c..c11bfb09e 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -97,6 +97,8 @@ declare namespace Deno { /** **UNSTABLE**: New API, yet to be vetted. * * The native struct type for interfacing with foreign functions. + * + * @category FFI */ type NativeStructType = { readonly struct: readonly NativeType[] }; @@ -351,7 +353,9 @@ declare namespace Deno { : StaticForeignSymbol; }; + /** @category FFI */ const brand: unique symbol; + /** @category FFI */ type PointerObject = { [brand]: unknown }; /** **UNSTABLE**: New API, yet to be vetted. @@ -643,8 +647,11 @@ declare namespace Deno { /** * This magic code used to implement better type hints for {@linkcode Deno.dlopen} + * + * @category FFI */ type Cast = A extends B ? A : B; + /** @category FFI */ type Const = Cast< T, | (T extends string | number | bigint | boolean ? T : never) @@ -1770,6 +1777,7 @@ declare namespace Deno { batchSize?: number; } + /** @category KV */ export interface KvCommitResult { /** The versionstamp of the value committed to KV. */ versionstamp: string; -- cgit v1.2.3