UNPKG

phaser3-rex-plugins-types

Version:

[![npm](https://img.shields.io/npm/v/phaser3-rex-plugins-types.svg)](https://www.npmjs.com/package/phaser3-rex-plugins-types) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![B

22 lines (16 loc) 702 B
declare module 'phaser3-rex-plugins/plugins/loader/awaitloader/AwaitLoaderCallback' { type AwaitLoaderConfig = { callback: (successCallback: () => void, failureCallback: () => void) => void; scope?: any; }; interface PartialFileConfig extends Partial<Phaser.Types.Loader.FileConfig> { config: AwaitLoaderConfig; } function loaderCallback( callback: (successCallback: () => void, failureCallback: () => void) => void, scope?: any, ): void; function loaderCallback(config: PartialFileConfig | AwaitLoaderConfig): void; function loaderCallback(key: string, config: AwaitLoaderConfig): void; export default loaderCallback; }