Skip to content

Commit c8cb2f9

Browse files
committed
fix jsdoc
1 parent e8b5f68 commit c8cb2f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ import { is_global, is_unscoped_pseudo_class } from './utils.js';
1010
* @typedef {{
1111
* keyframes: string[];
1212
* rule: AST.CSS.Rule | null;
13-
* has_global: { value: boolean };
13+
* has_global: { value: boolean }; // need an object since state is spread
1414
* }} CssState
1515
*/
1616

1717
/**
18-
* We need to use an object for `has_global_unscoped` since state is spread
1918
* @typedef {Visitors<AST.CSS.Node, CssState>} CssVisitors
2019
*/
2120

0 commit comments

Comments
 (0)