indexType aliases
Type Alias: LabelIdType
> LabelIdType = [keyof PixivnLabelIds] extends [never] ? string : keyof PixivnLabelIds
Defined in: src/narration/types/LabelIdType.ts:38
The type used wherever a label ID is expected (e.g. narration.call, narration.jump,
newLabel, choice options, …).
- Default — resolves to
stringso that existing code that passes arbitrary strings continues to compile without any changes. - Augmented — when 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.