arcade2d
Type Alias

AssetConstructor

assets/asset-library.types.ts:11

A constructor for a concrete Asset subclass (e.g. ImageAsset), used as a runtime type witness by AssetLibrary.getAs. Mirrors the ComponentHostConstructor pattern used for typed component lookups: the class value is passed purely as an instanceof discriminator, never invoked.

(args: never[]) => T
ESC