# Interface: PixivnAssetAliasIds (/jsdoc/pixi-vn/index/interfaces/PixivnAssetAliasIds)



Defined in: [src/canvas/types/AssetAliasIdType.ts:26](https://github.com/DRincs-Productions/pixi-vn/blob/efc9536feda21bc17c50370f5e35fd8d8d88843a/src/canvas/types/AssetAliasIdType.ts#L26)

An empty interface that can be augmented via `declare module '@drincs/pixi-vn/canvas'`
to constrain the set of valid asset aliases to a known union of string literals.

When this interface has no keys (the default), [AssetAliasIdType](/jsdoc/pixi-vn/index/type-aliases/AssetAliasIdType) resolves to `string`,
preserving full backwards compatibility. Once you augment it, [AssetAliasIdType](/jsdoc/pixi-vn/index/type-aliases/AssetAliasIdType) becomes
the union of the declared keys and the compiler will reject any unknown asset alias.

The augmentation is typically written into an auto-generated declaration file by the
Vite plugin (see the `assetsManifest` option of `vitePluginPixivn`), but it can
also be written by hand.

## Example [#example]

```ts
// pixi-vn.gen.d.ts  (auto-generated — do not edit manually)
declare module "@drincs/pixi-vn/canvas" {
    interface PixivnAssetAliasIds {
        logo: never;
        hero: never;
    }
}
export {};
```
