OverviewFilesCommitsIssuesDocsReleasesPeers

mirall-cli / node_modules / typed-array-length / index.d.ts

14 lines · typescript ref:
import type names from 'possible-typed-array-names';
import type { TypedArray } from 'is-typed-array';

declare function typedArrayLength(value: typedArrayLength.TypedArray): number;
declare function typedArrayLength(value: unknown): false;

declare namespace typedArrayLength {
	export type { TypedArray };

	export type TypedArrayName = typeof names[number];
}

export = typedArrayLength;