indexType aliases
Type Alias: AssetAliasIdType
> AssetAliasIdType = [keyof PixivnAssetAliasIds] extends [never] ? string : keyof PixivnAssetAliasIds
Defined in: src/canvas/types/AssetAliasIdType.ts:37
The type used wherever an asset alias is expected (e.g. Assets.load, getTexture).
- Default — resolves to
stringso that existing code that passes arbitrary strings continues to compile without any changes. - Augmented — when PixivnAssetAliasIds has been extended via
declare module "@drincs/pixi-vn/canvas", this type resolves to the union of the declared keys, giving you compile-time safety against typos and unknown asset aliases.