mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -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 rid: number;
|
||||||
readonly writable: WritableStream<Uint8Array>;
|
readonly writable: WritableStream<Uint8Array>;
|
||||||
};
|
};
|
||||||
/** A handle for `stderr`. */
|
/** A handle for `stderr`.
|
||||||
|
*
|
||||||
|
* @category I/O
|
||||||
|
*/
|
||||||
export const stderr: Writer & WriterSync & Closer & {
|
export const stderr: Writer & WriterSync & Closer & {
|
||||||
readonly rid: number;
|
readonly rid: number;
|
||||||
readonly writable: WritableStream<Uint8Array>;
|
readonly writable: WritableStream<Uint8Array>;
|
||||||
|
@ -2145,6 +2148,7 @@ declare namespace Deno {
|
||||||
*/
|
*/
|
||||||
export function realPath(path: string | URL): Promise<string>;
|
export function realPath(path: string | URL): Promise<string>;
|
||||||
|
|
||||||
|
/** @category File System */
|
||||||
export interface DirEntry {
|
export interface DirEntry {
|
||||||
name: string;
|
name: string;
|
||||||
isFile: boolean;
|
isFile: boolean;
|
||||||
|
@ -2760,6 +2764,7 @@ declare namespace Deno {
|
||||||
handler: () => void,
|
handler: () => void,
|
||||||
): void;
|
): void;
|
||||||
|
|
||||||
|
/** @category Sub Process */
|
||||||
export type ProcessStatus =
|
export type ProcessStatus =
|
||||||
| {
|
| {
|
||||||
success: true;
|
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;
|
readonly detail: T;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @category DOM APIs */
|
||||||
interface ErrorConstructor {
|
interface ErrorConstructor {
|
||||||
/** See https://v8.dev/docs/stack-trace-api#stack-trace-collection-for-custom-exceptions. */
|
/** See https://v8.dev/docs/stack-trace-api#stack-trace-collection-for-custom-exceptions. */
|
||||||
captureStackTrace(error: Object, constructor?: Function): void;
|
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>;
|
): Promise<GPUAdapter | null>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @category WebGPU */
|
||||||
declare interface GPURequestAdapterOptions {
|
declare interface GPURequestAdapterOptions {
|
||||||
powerPreference?: GPUPowerPreference;
|
powerPreference?: GPUPowerPreference;
|
||||||
forceFallbackAdapter?: boolean;
|
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);
|
constructor(type: string, eventInitDict?: MessageEventInit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @category DOM APIs */
|
||||||
type Transferable = ArrayBuffer | MessagePort;
|
type Transferable = ArrayBuffer | MessagePort;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue