sdfsdfs
This commit is contained in:
27
node_modules/pixi.js/lib/app/ApplicationMixins.d.ts
generated
vendored
Normal file
27
node_modules/pixi.js/lib/app/ApplicationMixins.d.ts
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
import type { Ticker } from '../ticker/Ticker';
|
||||
import type { ResizePluginOptions } from './ResizePlugin';
|
||||
import type { TickerPluginOptions } from './TickerPlugin';
|
||||
|
||||
declare global
|
||||
{
|
||||
namespace PixiMixins
|
||||
{
|
||||
// Extend the Application interface with resize and ticker functionalities
|
||||
interface Application
|
||||
{
|
||||
resizeTo: Window | HTMLElement;
|
||||
resize(): void;
|
||||
queueResize(): void;
|
||||
cancelResize(): void;
|
||||
|
||||
ticker: Ticker;
|
||||
stop(): void;
|
||||
start(): void;
|
||||
}
|
||||
|
||||
// Combine ResizePluginOptions and TickerPluginOptions into ApplicationOptions
|
||||
interface ApplicationOptions extends ResizePluginOptions, TickerPluginOptions {}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
Reference in New Issue
Block a user