# Type Alias: AssetAliasIdType (/pixi-vn/index/type-aliases/AssetAliasIdType)



\> **AssetAliasIdType** = \[keyof [`PixivnAssetAliasIds`](/pixi-vn/index/interfaces/PixivnAssetAliasIds)] *extends* \[`never`] ? `string` : keyof [`PixivnAssetAliasIds`](/pixi-vn/index/interfaces/PixivnAssetAliasIds)

Defined in: [src/canvas/types/AssetAliasIdType.ts:37](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/canvas/types/AssetAliasIdType.ts#L37)

The type used wherever an asset alias is expected (e.g. `Assets.load`, `getTexture`).

* **Default** — resolves to `string` so that existing code that passes arbitrary strings
  continues to compile without any changes.
* **Augmented** — when [PixivnAssetAliasIds](/pixi-vn/index/interfaces/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.
