global.d.ts 690 B

12345678910111213141516171819202122232425262728293031
  1. declare namespace GlobalMixins
  2. {
  3. // eslint-disable-next-line @typescript-eslint/no-empty-interface
  4. interface LoaderResource
  5. {
  6. /** Texture reference for loading images and other textures. */
  7. texture?: Texture;
  8. }
  9. // eslint-disable-next-line @typescript-eslint/no-empty-interface
  10. interface IResourceMetadata
  11. {
  12. }
  13. /** @deprecated Use LoaderResource instead */
  14. // eslint-disable-next-line @typescript-eslint/no-empty-interface
  15. interface ILoaderResource
  16. {
  17. }
  18. interface Application
  19. {
  20. loader: import('@pixi/loaders').Loader;
  21. }
  22. interface IApplicationOptions
  23. {
  24. sharedLoader?: boolean;
  25. }
  26. }