LogoPixi’VN
indexInterfaces

Interface: StepLabelResult

Defined in: src/narration/interfaces/StepLabelResult.ts:17

StepLabelResultType is the return type of the StepLabel function. It can be useful for returning to the information calling function to perform other operations that cannot be performed within the StepLabel. You can override this interface to add your own return types.

Example

// pixi-vn.d.ts
declare module '@drincs/pixi-vn' {
    interface StepLabelResult {
        newRoute?: string,
        [key: string]: any
    }
}