Require Node.js 18
This commit is contained in:
parent
25a376875d
commit
0ff273fee8
7 changed files with 56 additions and 40 deletions
|
|
@ -56,7 +56,7 @@ export type ObservableLike = {
|
|||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
export type Falsy = false | 0 | 0n | '' | null | undefined;
|
||||
|
||||
export type WeakRef<T extends object> = { // eslint-disable-line @typescript-eslint/ban-types
|
||||
export type WeakRef<T extends object> = { // eslint-disable-line @typescript-eslint/ban-types, unicorn/prevent-abbreviations
|
||||
readonly [Symbol.toStringTag]: 'WeakRef';
|
||||
deref(): T | undefined;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue