Skip to content

Duplicate identifier Color in core/index.ts #53

Description

@emptygamer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions