mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
fix(docs): add missing categories (#15684)
This commit is contained in:
parent
a7558196a7
commit
f3a0e48d4e
4 changed files with 9 additions and 1 deletions
7
cli/dts/lib.deno.ns.d.ts
vendored
7
cli/dts/lib.deno.ns.d.ts
vendored
|
@ -1338,7 +1338,10 @@ declare namespace Deno {
|
|||
readonly rid: number;
|
||||
readonly writable: WritableStream<Uint8Array>;
|
||||
};
|
||||
/** A handle for `stderr`. */
|
||||
/** A handle for `stderr`.
|
||||
*
|
||||
* @category I/O
|
||||
*/
|
||||
export const stderr: Writer & WriterSync & Closer & {
|
||||
readonly rid: number;
|
||||
readonly writable: WritableStream<Uint8Array>;
|
||||
|
@ -2145,6 +2148,7 @@ declare namespace Deno {
|
|||
*/
|
||||
export function realPath(path: string | URL): Promise<string>;
|
||||
|
||||
/** @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;
|
||||
|
|
1
cli/dts/lib.deno.shared_globals.d.ts
vendored
1
cli/dts/lib.deno.shared_globals.d.ts
vendored
|
@ -675,6 +675,7 @@ declare class CustomEvent<T = any> 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;
|
||||
|
|
1
cli/dts/lib.deno_webgpu.d.ts
vendored
1
cli/dts/lib.deno_webgpu.d.ts
vendored
|
@ -81,6 +81,7 @@ declare class GPU {
|
|||
): Promise<GPUAdapter | null>;
|
||||
}
|
||||
|
||||
/** @category WebGPU */
|
||||
declare interface GPURequestAdapterOptions {
|
||||
powerPreference?: GPUPowerPreference;
|
||||
forceFallbackAdapter?: boolean;
|
||||
|
|
1
ext/web/lib.deno_web.d.ts
vendored
1
ext/web/lib.deno_web.d.ts
vendored
|
@ -855,6 +855,7 @@ declare class MessageEvent<T = any> extends Event {
|
|||
constructor(type: string, eventInitDict?: MessageEventInit);
|
||||
}
|
||||
|
||||
/** @category DOM APIs */
|
||||
type Transferable = ArrayBuffer | MessagePort;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue