Skip to content

Commit db4dd40

Browse files
authored
fix: ::part() takes a string, not a selector
1 parent d040190 commit db4dd40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/syntax-definitions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ const selectors4SyntaxDefinition = extendSyntaxDefinition(selectors3SyntaxDefini
403403
pseudoElements: {
404404
definitions: {
405405
NoArgument: ['marker'],
406-
Selector: ['part']
406+
String: ['part']
407407
}
408408
}
409409
});
@@ -489,7 +489,7 @@ export const cssModules = {
489489
latest: true,
490490
pseudoElements: {
491491
definitions: {
492-
Selector: ['part']
492+
String: ['part']
493493
}
494494
}
495495
}

0 commit comments

Comments
 (0)