Sha256: 070dfe55873428da3ae7c6164b2121b9b7c4b5b66b7739db673b204a05d9befa

Contents?: true

Size: 1.33 KB

Versions: 33

Compression:

Stored size: 1.33 KB

Contents

/**
Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
*/
export type Primitive = null | undefined | string | number | boolean | symbol | bigint;
/**
Matches a [`class` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
*/
/**
Matches a [`class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes).
*/
export type Class<T = unknown, Arguments extends any[] = any[]> = new (...arguments_: Arguments) => T;
/**
Matches any [typed array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray), like `Uint8Array` or `Float64Array`.
*/
export type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array;
declare global {
    interface SymbolConstructor {
        readonly observable: symbol;
    }
}
/**
Matches a value that is like an [Observable](https://github.com/tc39/proposal-observable).
*/
export type ObservableLike = {
    subscribe(observer: (value: unknown) => void): void;
    [Symbol.observable](): ObservableLike;
};
export type Falsy = false | 0 | 0n | '' | null | undefined;
export type WeakRef<T extends object> = {
    readonly [Symbol.toStringTag]: 'WeakRef';
    deref(): T | undefined;
};

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.59 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.58 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.57 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.56 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.55 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.54 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.53 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.52 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.51 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.50 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.49 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.48 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.47 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.46 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.45 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.44 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.43 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.42 node_modules/@sindresorhus/is/dist/types.d.ts
immosquare-cleaner-0.1.41 node_modules/@sindresorhus/is/dist/types.d.ts