Named exports

This commit is contained in:
= 2023-07-31 15:19:12 +09:00
parent bd5dfda993
commit cffdb4aa02
4 changed files with 1297 additions and 453 deletions

File diff suppressed because it is too large Load diff

View file

@ -62,3 +62,14 @@ export type WeakRef<T extends object> = { // eslint-disable-line @typescript-esl
readonly [Symbol.toStringTag]: 'WeakRef';
deref(): T | undefined;
};
export type ArrayLike<T> = {
readonly [index: number]: T;
readonly length: number;
};
export type NodeStream = {
pipe<T extends NodeJS.WritableStream>(destination: T, options?: {end?: boolean}): T;
} & NodeJS.EventEmitter;
export type Predicate = (value: unknown) => boolean;