-
-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
Hi, I can't tell whether this was intentional decision or a oversight while making the type definition so if it was, u can go ahead and close it
Description
The TypeScript definitions in types/src/color.d.ts are missing type definitions for deltaEOK2 and deltaEHCT methods, even though they are exported in src/deltaE/index.js.
Current Behavior
deltaEOK2anddeltaEHCTare exported fromsrc/deltaE/index.js- These methods are functional and work at runtime
- TypeScript definitions are missing, causing type errors when trying to use these methods
Code References
Exports: https://github.com/color-js/color.js/blob/main/src/deltaE/index.js#L17-L24
Missing from: types/src/color.d.ts
Result:
User can in fact use the method, but TypeScript will complain
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels