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

21 lines (16 loc) 673 B
declare module 'phaser3-rex-plugins/plugins/loader/webfontloader/WebFontLoaderCallback' { interface WebFontLoaderConfig extends Omit< WebFont.Config, 'active' | 'inactive' | 'fontactive' | 'fontinactive' | 'loading' | 'fontloading' > { testString?: string; testInterval?: number; } interface PartialFileConfig extends Partial<Phaser.Types.Loader.FileConfig> { config: WebFontLoaderConfig; } function loaderCallback(config: PartialFileConfig | WebFontLoaderConfig): void; function loaderCallback(key: string, config: WebFontLoaderConfig): void; export default loaderCallback; }