Skip to content

Commit aad2509

Browse files
committed
tidy up
1 parent 76371f7 commit aad2509

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@ function is_global_block_selector(simple_selector) {
3131
}
3232

3333
/**
34-
* @param {import('../types.js').Context["path"]} path
35-
* @returns
34+
* @param {AST.SvelteNode[]} path
3635
*/
3736
function is_unscoped(path) {
38-
// remove every at rule or stylesheet and the current rule in case is passed in from `ComplexSelector`
3937
return path
4038
.filter((node) => node.type === 'Rule')
4139
.every((node) => node.metadata.has_global_selectors);

0 commit comments

Comments
 (0)