From f3a0e48d4ecb7624bb8c19f0588504cd6249089b Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 30 Aug 2022 13:16:56 +0200 Subject: fix(docs): add missing categories (#15684) --- cli/dts/lib.deno.ns.d.ts | 7 ++++++- cli/dts/lib.deno.shared_globals.d.ts | 1 + cli/dts/lib.deno_webgpu.d.ts | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index 841d92a61..30520191d 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -1338,7 +1338,10 @@ declare namespace Deno { readonly rid: number; readonly writable: WritableStream; }; - /** A handle for `stderr`. */ + /** A handle for `stderr`. + * + * @category I/O + */ export const stderr: Writer & WriterSync & Closer & { readonly rid: number; readonly writable: WritableStream; @@ -2145,6 +2148,7 @@ declare namespace Deno { */ export function realPath(path: string | URL): Promise; + /** @category File System */ export interface DirEntry { name: string; isFile: boolean; @@ -2760,6 +2764,7 @@ declare namespace Deno { handler: () => void, ): void; + /** @category Sub Process */ export type ProcessStatus = | { success: true; diff --git a/cli/dts/lib.deno.shared_globals.d.ts b/cli/dts/lib.deno.shared_globals.d.ts index 361d62dd4..17568d9bd 100644 --- a/cli/dts/lib.deno.shared_globals.d.ts +++ b/cli/dts/lib.deno.shared_globals.d.ts @@ -675,6 +675,7 @@ declare class CustomEvent extends Event { readonly detail: T; } +/** @category DOM APIs */ interface ErrorConstructor { /** See https://v8.dev/docs/stack-trace-api#stack-trace-collection-for-custom-exceptions. */ captureStackTrace(error: Object, constructor?: Function): void; diff --git a/cli/dts/lib.deno_webgpu.d.ts b/cli/dts/lib.deno_webgpu.d.ts index bf3185ca4..efcc8da4a 100644 --- a/cli/dts/lib.deno_webgpu.d.ts +++ b/cli/dts/lib.deno_webgpu.d.ts @@ -81,6 +81,7 @@ declare class GPU { ): Promise; } +/** @category WebGPU */ declare interface GPURequestAdapterOptions { powerPreference?: GPUPowerPreference; forceFallbackAdapter?: boolean; -- cgit v1.2.3