diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-04-24 22:24:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 20:24:18 +0000 |
commit | be9e3c430fdd58cfdd36cb9d6eba076e1b74d2b7 (patch) | |
tree | df09767dbc1a587d9ced13497403b56af07a1a3a | |
parent | ebfc75fe8cfb8af1a6f5a1a021d8fd9f235bdd8e (diff) |
docs: add categories to APIs without (#18826)
-rw-r--r-- | cli/tsc/dts/lib.deno.unstable.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
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<T[K]>; }; + /** @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, B> = A extends B ? A : B; + /** @category FFI */ type Const<T> = 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; |