UNPKG

tailwindcss-3d

Version:

Add 3D transforms to your TailwindCSS project

6 lines (5 loc) 448 B
type Primitives = string | number | bigint | boolean | symbol | undefined | object | ((...args: any[]) => any); type PrimitiveStrings = 'string' | 'number' | 'bigint' | 'boolean' | 'symbol' | 'undefined' | 'object' | 'function'; export declare const ensure: <T extends Primitives>(type: PrimitiveStrings | PrimitiveStrings[], maybe: any, fallback: T) => T; export declare const ensureBoolean: (maybe: any, fallback: boolean) => boolean; export {};