UNPKG

expo-modules-core

Version:
12 lines (8 loc) 1.05 kB
/** A union type for all integer based [`TypedArray` objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#typedarray_objects). */ export type IntBasedTypedArray = Int8Array | Int16Array | Int32Array; /** A union type for all unsigned integer based [`TypedArray` objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#typedarray_objects). */ export type UintBasedTypedArray = Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array; /** A union type for all floating point based [`TypedArray` objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#typedarray_objects). */ export type FloatBasedTypedArray = Float32Array | Float64Array; /** A [`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) describes an array-like view of an underlying binary data buffer. */ export type TypedArray = IntBasedTypedArray | UintBasedTypedArray | FloatBasedTypedArray;