Pixi’VN
indexInterfaces

Interface: OnRunProps

nqtr on GitHub

Defined in: src/types/OnRunEvent.ts:21

Object passed to the functions triggered by the system (e.g. OnRunEvent), allowing you to customize and access properties inside them.

By default it is an empty interface. You can override it in your .d.ts file (module augmentation) to specify the required properties.

Example

nqtr.d.ts
import "@drincs/nqtr";

declare module "@drincs/nqtr" {
    interface OnRunProps {
        navigate: (route: string) => void;
    }
}

On this page