Hello,
I noticed a duplicate identifier for Color in core/index.ts.
|
export type { Color, Vec2, Vec3, Vec4, Rect, Camera2D, Camera3D, Texture, Font, Sound, Music, Quat, Ray, BoundingBox, Model, Mat4, RayHit, FrustumPlanes } from './types'; |
|
export { Color, ColorConstants, Colors } from './colors'; |
To ensure proper TypeScript type resolution, would it make sense to remove Color from ./colors and use Colors as the primary color map instead? I’m interested to know if this architectural change might introduce any side effects.
Thank you for your guidance :D
Hello,
I noticed a duplicate identifier for Color in core/index.ts.
engine/src/core/index.ts
Lines 3 to 4 in 2170437
To ensure proper TypeScript type resolution, would it make sense to remove Color from ./colors and use Colors as the primary color map instead? I’m interested to know if this architectural change might introduce any side effects.
Thank you for your guidance :D