Skip to content

Commit da85042

Browse files
authored
fix safelist variant key required by typings (#9200)
1 parent b0a5499 commit da85042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/config.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type SafelistConfig =
4949
| string[]
5050
| {
5151
pattern: RegExp
52-
variants: string[]
52+
variants?: string[]
5353
}[]
5454

5555
// Presets related config

0 commit comments

Comments
 (0)