Skip to content

Commit 3ccf753

Browse files
authoredJul 13, 2023
fix(runtime): properly type color-interpolation-filter (#4530)
this commit updates the typings of `SVGAttributes#color-interpolation-filter` to match the current spec, which states the only accepted values are 'auto', 'sRGB' and 'linearRGB'. this commit renames 's-rGB' to 'sRGB' and 'linear-rGB' to 'linearRGB'. it also removes 'inherit'. it is believed this was done by accident in a regex-based replacement of camelCased properties to kebab-cased attributes in 667597d
1 parent a353769 commit 3ccf753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/declarations/stencil-public-runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ export namespace JSXBase {
14441444
clipPathUnits?: number | string;
14451445
'clip-rule'?: number | string;
14461446
'color-interpolation'?: number | string;
1447-
'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
1447+
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
14481448
'color-profile'?: number | string;
14491449
'color-rendering'?: number | string;
14501450
contentScriptType?: number | string;

0 commit comments

Comments
 (0)
Please sign in to comment.