1
0
Fork 0
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:
Leo Kettmeir 2022-08-30 13:16:56 +02:00 committed by GitHub
parent a7558196a7
commit f3a0e48d4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 1 deletions

View file

@ -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;

View file

@ -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;

View file

@ -81,6 +81,7 @@ declare class GPU {
): Promise<GPUAdapter | null>;
}
/** @category WebGPU */
declare interface GPURequestAdapterOptions {
powerPreference?: GPUPowerPreference;
forceFallbackAdapter?: boolean;

View file

@ -855,6 +855,7 @@ declare class MessageEvent<T = any> extends Event {
constructor(type: string, eventInitDict?: MessageEventInit);
}
/** @category DOM APIs */
type Transferable = ArrayBuffer | MessagePort;
/**