UNPKG

grandma3-ts-types

Version:
23 lines (20 loc) 580 B
type GraphicsRoot = Obj<Root, any> & any[] & { [index: string]: any } & { TextureCollect: TextureCollect; PultCollect: PultCollect; }; type TextureCollect = Obj<GraphicsRoot, Textures> & { Textures: Textures; }; type Textures = Obj<TextureCollect, Texture> & { [name: string]: Texture; }; type TextureProps = ObjProps & { fileName: string; textureRect: { h: number; w: number; x: number; y: number }; textureIndex: number; }; type Texture = Obj<Textures, undefined, TextureProps> & TextureProps; type PultCollect = Obj<GraphicsRoot, any> & { [name: string]: any; };