TypeScript-DOM-lib-generator icon indicating copy to clipboard operation
TypeScript-DOM-lib-generator copied to clipboard

Incorrect interface for `OptionalEffectTiming`

Open romainmenke opened this issue 2 years ago • 1 comments

Argument of type 'EffectTiming' is not assignable to parameter of type 'OptionalEffectTiming'. Types of property 'duration' are incompatible.

EffectTiming was recently updated with duration?: number | CSSNumericValue | string;

OptionalEffectTiming was not updated.

This is breaking our code, but I am not sure if this is an issue that needs to be fixed or if our code was always wrong.

romainmenke avatar Jun 05 '23 11:06 romainmenke

Thanks, filed https://github.com/w3c/csswg-drafts/issues/8949.

saschanaz avatar Jun 12 '23 19:06 saschanaz