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



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

Defined in: [src/narration/types/LabelIdType.ts:38](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/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](/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.
