@drincs/pixi-vn
Version:
Pixi'VN is a npm package that provides various features for creating visual novels.
11 lines (8 loc) • 479 B
text/typescript
import { StepLabelResult, StepLabelProps } from '@drincs/pixi-vn/dist/override';
type StepLabelResultType = StepLabelResult | void;
type StepLabelPropsType<T extends {} = {}> = StepLabelProps & T;
/**
* StepLabel is a function that will be executed as the game continues.
*/
type StepLabelType<T extends {} = {}> = ((props: StepLabelPropsType<T>) => StepLabelResultType | Promise<StepLabelResultType>);
export type { StepLabelPropsType, StepLabelResultType, StepLabelType };