@types/color: error TS2716: Type parameter 'T' has a circular default.
curiouscod3 opened this issue · 1 comments
curiouscod3 commented
node_modules/@types/color/index.d.ts(13,40): error TS2716: Type parameter 'T' has a circular default.
In Angular project,( regardless of framework type)
To fix this, I had to change from this :
type ColorParam = Color | string | ArrayLike<number> | number | { [key: string]: any };
to this
type ColorParam = string | ArrayLike<number> | number | { [key: string]: any };
Any better idea?
Qix- commented
Please open an issue with definitelytyped. I do not maintain the typings.