Implement named exports (#191)
This commit is contained in:
parent
bd5dfda993
commit
5044c91273
4 changed files with 1282 additions and 409 deletions
1582
source/index.ts
1582
source/index.ts
File diff suppressed because it is too large
Load diff
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue