8 lines
331 B
TypeScript
8 lines
331 B
TypeScript
export type NoInfer<T> = [T][T extends any ? 0 : never];
|
|
export declare const hasOwnProperty: (v: PropertyKey) => boolean;
|
|
export declare const arrayFromSet: <T>(set: Set<T>) => T[];
|
|
export type Unsubscribable = {
|
|
unsubscribe?: void | (() => any);
|
|
};
|
|
export declare function maybeUnsubscribe(entryOrDep: Unsubscribable): void;
|