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



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

Defined in: [src/narration/types/LabelIdType.ts:38](https://github.com/DRincs-Productions/pixi-vn/blob/11c55b5d212c6c7eaffb12776b3f83f4d38e1ede/src/narration/types/LabelIdType.ts#L38)

The type used wherever a label ID is expected (e.g. `narration.call`, `narration.jump`,
`newLabel`, choice options, …).

* **Default** — resolves to `string` so that existing code that passes arbitrary strings
  continues to compile without any changes.
* **Augmented** — when [PixivnLabelIds](/jsdoc/pixi-vn/index/interfaces/PixivnLabelIds) has been extended via
  `declare module "@drincs/pixi-vn/narration"`, this type resolves to the union of the
  declared keys, giving you compile-time safety against typos and unknown label IDs.
