pull/12560/head
Simon Holthausen 2 years ago
parent 1f8bf93ffa
commit 10988dce2a

@ -7,14 +7,14 @@ export default test({
code: 'css_unused_selector',
message: 'Unused CSS selector ".unused :global"',
start: {
line: 63,
line: 69,
column: 1,
character: 871
character: 917
},
end: {
line: 63,
line: 69,
column: 16,
character: 886
character: 932
}
}
]

@ -1364,7 +1364,7 @@ declare module 'svelte/compiler' {
metadata: {
/**
* `true` if the whole selector is unscoped, e.g. `:global(...)` or `:global` or `:global.x`.
* Selectors like `:global(...).x` or `div:global` are not considered global, because they still need scoping.
* Selectors like `:global(...).x` are not considered global, because they still need scoping.
*/
is_global: boolean;
/** `:root`, `:host`, `::view-transition`, or selectors after a `:global` */

Loading…
Cancel
Save