File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ type FileCache = {
4343// be found here: https://stackoverflow.com/questions/52667959/what-is-the-purpose-of-bivariancehack-in-typescript-types.
4444// and in the original discussion: https://github.com/stylelint/stylelint/pull/6147#issuecomment-1155337016.
4545type RuleMessageFunc = {
46- bivariance ( ...args : ( string | number | boolean | RegExp ) [ ] ) : string ;
46+ bivariance ( ...args : ( string | number | boolean | RegExp | string [ ] ) [ ] ) : string ;
4747} [ 'bivariance' ] ;
4848
4949type RuleSeverityFunc = {
50- bivariance ( ...args : ( string | number | boolean | RegExp ) [ ] ) : stylelint . Severity | null ;
50+ bivariance ( ...args : ( string | number | boolean | RegExp | string [ ] ) [ ] ) : stylelint . Severity | null ;
5151} [ 'bivariance' ] ;
5252
5353type RuleOptionsPossibleFunc = ( value : unknown ) => boolean ;
@@ -571,7 +571,7 @@ declare namespace stylelint {
571571 'rule-nesting-at-rule-required-list' : CoreRule <
572572 OneOrMany < StringOrRegex > ,
573573 { } ,
574- ExpectedMessage < [ patterns : string ] >
574+ ExpectedMessage < [ patterns : string [ ] ] >
575575 > ;
576576 'declaration-block-no-redundant-longhand-properties' : CoreRule <
577577 true ,
You can’t perform that action at this time.
0 commit comments