Skip to main content

Variable: castabilityTables

const castabilityTables: {
castableExtensions: ReadonlySet<string>;
castableMimeTypes: ReadonlySet<string>;
notCastableExtensions: ReadonlySet<string>;
};

Defined in: packages/cast/src/can-cast.ts:177

Exported for tests: the tables are the spec, so tests pin them.

Type Declaration

castableExtensions

readonly castableExtensions: ReadonlySet<string> = CASTABLE_EXTENSIONS;

castableMimeTypes

readonly castableMimeTypes: ReadonlySet<string> = CASTABLE_MIME_TYPES;

notCastableExtensions

readonly notCastableExtensions: ReadonlySet<string> = NOT_CASTABLE_EXTENSIONS;