@w5s/eslint-config 7.1.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1321 -598
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +121 -108
- package/dist/index.js.map +1 -1
- package/package.json +13 -12
- package/src/config/markdown.ts +52 -10
- package/src/config/regexp.ts +43 -0
- package/src/config.ts +1 -0
- package/src/defineConfig.ts +2 -0
- package/src/typegen/jsdoc.d.ts +37 -1
- package/src/typegen/node.d.ts +1 -1
- package/src/typegen/perfectionist.d.ts +475 -30
- package/src/typegen/react.d.ts +47 -14
- package/src/typegen/regex.d.ts +427 -0
- package/src/typegen/regexp.d.ts +546 -0
- package/src/typegen/ts.d.ts +11 -1
- package/src/typegen/unicorn.d.ts +479 -407
- package/src/typegen/yml.d.ts +16 -0
package/src/typegen/react.d.ts
CHANGED
|
@@ -75,10 +75,10 @@ export interface RuleOptions {
|
|
|
75
75
|
*/
|
|
76
76
|
'react/dom-no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
|
|
77
77
|
/**
|
|
78
|
-
* Disallows 'target="_blank"' without 'rel="noreferrer
|
|
78
|
+
* Disallows 'target="_blank"' without 'rel="noreferrer"'.
|
|
79
79
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
|
|
80
80
|
*/
|
|
81
|
-
'react/dom-no-unsafe-target-blank'?: Linter.RuleEntry<
|
|
81
|
+
'react/dom-no-unsafe-target-blank'?: Linter.RuleEntry<ReactDomNoUnsafeTargetBlank>
|
|
82
82
|
/**
|
|
83
83
|
* Replaces usage of 'useFormState' with 'useActionState'.
|
|
84
84
|
* @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
|
|
@@ -96,7 +96,7 @@ export interface RuleOptions {
|
|
|
96
96
|
'react/error-boundaries'?: Linter.RuleEntry<[]>
|
|
97
97
|
/**
|
|
98
98
|
* Verifies the list of dependencies for Hooks like 'useEffect' and similar.
|
|
99
|
-
* @see https://github.com/
|
|
99
|
+
* @see https://github.com/react/react/issues/14920
|
|
100
100
|
*/
|
|
101
101
|
'react/exhaustive-deps'?: Linter.RuleEntry<ReactExhaustiveDeps>
|
|
102
102
|
/**
|
|
@@ -270,7 +270,7 @@ export interface RuleOptions {
|
|
|
270
270
|
*/
|
|
271
271
|
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
272
272
|
/**
|
|
273
|
-
* Enforces that
|
|
273
|
+
* Enforces that anonymous components wrapped in 'memo' or 'forwardRef' have a 'displayName' that can be used in DevTools.
|
|
274
274
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
275
275
|
*/
|
|
276
276
|
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
@@ -295,7 +295,7 @@ export interface RuleOptions {
|
|
|
295
295
|
*/
|
|
296
296
|
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>
|
|
297
297
|
/**
|
|
298
|
-
* Disallows
|
|
298
|
+
* Disallows declaring lazy components that wrap dynamic imports inside other components or hooks.
|
|
299
299
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
300
300
|
*/
|
|
301
301
|
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>
|
|
@@ -335,7 +335,7 @@ export interface RuleOptions {
|
|
|
335
335
|
*/
|
|
336
336
|
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
|
|
337
337
|
/**
|
|
338
|
-
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
|
|
338
|
+
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider' or the '<Context>' shorthand in React 19 and above.
|
|
339
339
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
340
340
|
*/
|
|
341
341
|
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
|
|
@@ -365,7 +365,7 @@ export interface RuleOptions {
|
|
|
365
365
|
*/
|
|
366
366
|
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
367
367
|
/**
|
|
368
|
-
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
368
|
+
* Validates that components and hooks are pure by checking that they do not call known-impure functions or construct known-impure objects during render.
|
|
369
369
|
* @see https://eslint-react.xyz/docs/rules/purity
|
|
370
370
|
*/
|
|
371
371
|
'react/purity'?: Linter.RuleEntry<[]>
|
|
@@ -399,13 +399,18 @@ export interface RuleOptions {
|
|
|
399
399
|
* @see https://eslint-react.xyz/docs/rules/static-components
|
|
400
400
|
*/
|
|
401
401
|
'react/static-components'?: Linter.RuleEntry<[]>
|
|
402
|
+
/**
|
|
403
|
+
* Verifies the list of dependencies for Hooks like 'useEffect' and similar, with support for custom Hooks and stable Hook results.
|
|
404
|
+
* @see https://eslint-react.xyz/docs/rules/unstable-exhaustive-deps
|
|
405
|
+
*/
|
|
406
|
+
'react/unstable-exhaustive-deps'?: Linter.RuleEntry<ReactUnstableExhaustiveDeps>
|
|
402
407
|
/**
|
|
403
408
|
* Validates against syntax that React Compiler does not support.
|
|
404
409
|
* @see https://eslint-react.xyz/docs/rules/unsupported-syntax
|
|
405
410
|
*/
|
|
406
411
|
'react/unsupported-syntax'?: Linter.RuleEntry<[]>
|
|
407
412
|
/**
|
|
408
|
-
* Validates
|
|
413
|
+
* Validates 'useMemo' usage: the result must be used and the callback must take no parameters, not be async or a generator, not reassign outer variables, and return a value.
|
|
409
414
|
* @see https://eslint-react.xyz/docs/rules/use-memo
|
|
410
415
|
*/
|
|
411
416
|
'react/use-memo'?: Linter.RuleEntry<[]>
|
|
@@ -451,7 +456,7 @@ export interface RuleOptions {
|
|
|
451
456
|
'react/x-error-boundaries'?: Linter.RuleEntry<[]>
|
|
452
457
|
/**
|
|
453
458
|
* Verifies the list of dependencies for Hooks like 'useEffect' and similar.
|
|
454
|
-
* @see https://github.com/
|
|
459
|
+
* @see https://github.com/react/react/issues/14920
|
|
455
460
|
*/
|
|
456
461
|
'react/x-exhaustive-deps'?: Linter.RuleEntry<ReactXExhaustiveDeps>
|
|
457
462
|
/**
|
|
@@ -570,7 +575,7 @@ export interface RuleOptions {
|
|
|
570
575
|
*/
|
|
571
576
|
'react/x-no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
572
577
|
/**
|
|
573
|
-
* Enforces that
|
|
578
|
+
* Enforces that anonymous components wrapped in 'memo' or 'forwardRef' have a 'displayName' that can be used in DevTools.
|
|
574
579
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
575
580
|
*/
|
|
576
581
|
'react/x-no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
@@ -595,7 +600,7 @@ export interface RuleOptions {
|
|
|
595
600
|
*/
|
|
596
601
|
'react/x-no-nested-component-definitions'?: Linter.RuleEntry<[]>
|
|
597
602
|
/**
|
|
598
|
-
* Disallows
|
|
603
|
+
* Disallows declaring lazy components that wrap dynamic imports inside other components or hooks.
|
|
599
604
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
600
605
|
*/
|
|
601
606
|
'react/x-no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>
|
|
@@ -635,7 +640,7 @@ export interface RuleOptions {
|
|
|
635
640
|
*/
|
|
636
641
|
'react/x-no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
|
|
637
642
|
/**
|
|
638
|
-
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
|
|
643
|
+
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider' or the '<Context>' shorthand in React 19 and above.
|
|
639
644
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
640
645
|
*/
|
|
641
646
|
'react/x-no-unstable-context-value'?: Linter.RuleEntry<[]>
|
|
@@ -665,7 +670,7 @@ export interface RuleOptions {
|
|
|
665
670
|
*/
|
|
666
671
|
'react/x-no-use-context'?: Linter.RuleEntry<[]>
|
|
667
672
|
/**
|
|
668
|
-
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
673
|
+
* Validates that components and hooks are pure by checking that they do not call known-impure functions or construct known-impure objects during render.
|
|
669
674
|
* @see https://eslint-react.xyz/docs/rules/purity
|
|
670
675
|
*/
|
|
671
676
|
'react/x-purity'?: Linter.RuleEntry<[]>
|
|
@@ -700,7 +705,7 @@ export interface RuleOptions {
|
|
|
700
705
|
*/
|
|
701
706
|
'react/x-unsupported-syntax'?: Linter.RuleEntry<[]>
|
|
702
707
|
/**
|
|
703
|
-
* Validates
|
|
708
|
+
* Validates 'useMemo' usage: the result must be used and the callback must take no parameters, not be async or a generator, not reassign outer variables, and return a value.
|
|
704
709
|
* @see https://eslint-react.xyz/docs/rules/use-memo
|
|
705
710
|
*/
|
|
706
711
|
'react/x-use-memo'?: Linter.RuleEntry<[]>
|
|
@@ -714,9 +719,16 @@ export interface RuleOptions {
|
|
|
714
719
|
/* ======= Declarations ======= */
|
|
715
720
|
// ----- react/dom-no-unknown-property -----
|
|
716
721
|
type ReactDomNoUnknownProperty = []|[{
|
|
722
|
+
|
|
717
723
|
ignore?: string[]
|
|
724
|
+
|
|
718
725
|
requireDataLowercase?: boolean
|
|
719
726
|
}]
|
|
727
|
+
// ----- react/dom-no-unsafe-target-blank -----
|
|
728
|
+
type ReactDomNoUnsafeTargetBlank = []|[{
|
|
729
|
+
|
|
730
|
+
allowReferrer?: boolean
|
|
731
|
+
}]
|
|
720
732
|
// ----- react/exhaustive-deps -----
|
|
721
733
|
type ReactExhaustiveDeps = []|[{
|
|
722
734
|
additionalHooks?: string
|
|
@@ -733,16 +745,33 @@ type ReactJsxNoUselessFragment = []|[{
|
|
|
733
745
|
}]
|
|
734
746
|
// ----- react/no-unstable-default-props -----
|
|
735
747
|
type ReactNoUnstableDefaultProps = []|[{
|
|
748
|
+
|
|
736
749
|
safeDefaultProps?: string[]
|
|
737
750
|
}]
|
|
738
751
|
// ----- react/rules-of-hooks -----
|
|
739
752
|
type ReactRulesOfHooks = []|[{
|
|
740
753
|
additionalHooks?: string
|
|
741
754
|
}]
|
|
755
|
+
// ----- react/unstable-exhaustive-deps -----
|
|
756
|
+
type ReactUnstableExhaustiveDeps = []|[{
|
|
757
|
+
additionalHooks?: string
|
|
758
|
+
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean
|
|
759
|
+
experimental_autoDependenciesHooks?: string[]
|
|
760
|
+
hooks?: {
|
|
761
|
+
name: string
|
|
762
|
+
closureIndex?: number
|
|
763
|
+
dependenciesIndex?: number
|
|
764
|
+
stableResult?: (boolean | number | [number, ...(number)[]])
|
|
765
|
+
}[]
|
|
766
|
+
requireExplicitEffectDeps?: boolean
|
|
767
|
+
}]
|
|
742
768
|
// ----- react/use-state -----
|
|
743
769
|
type ReactUseState = []|[{
|
|
770
|
+
|
|
744
771
|
enforceAssignment?: boolean
|
|
772
|
+
|
|
745
773
|
enforceLazyInitialization?: boolean
|
|
774
|
+
|
|
746
775
|
enforceSetterName?: boolean
|
|
747
776
|
}]
|
|
748
777
|
// ----- react/x-exhaustive-deps -----
|
|
@@ -754,6 +783,7 @@ type ReactXExhaustiveDeps = []|[{
|
|
|
754
783
|
}]
|
|
755
784
|
// ----- react/x-no-unstable-default-props -----
|
|
756
785
|
type ReactXNoUnstableDefaultProps = []|[{
|
|
786
|
+
|
|
757
787
|
safeDefaultProps?: string[]
|
|
758
788
|
}]
|
|
759
789
|
// ----- react/x-rules-of-hooks -----
|
|
@@ -762,7 +792,10 @@ type ReactXRulesOfHooks = []|[{
|
|
|
762
792
|
}]
|
|
763
793
|
// ----- react/x-use-state -----
|
|
764
794
|
type ReactXUseState = []|[{
|
|
795
|
+
|
|
765
796
|
enforceAssignment?: boolean
|
|
797
|
+
|
|
766
798
|
enforceLazyInitialization?: boolean
|
|
799
|
+
|
|
767
800
|
enforceSetterName?: boolean
|
|
768
801
|
}]
|
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
import type { Linter } from 'eslint'
|
|
4
|
+
|
|
5
|
+
declare module 'eslint' {
|
|
6
|
+
namespace Linter {
|
|
7
|
+
interface RulesRecord extends RuleOptions {}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface RuleOptions {
|
|
12
|
+
/**
|
|
13
|
+
* Invalid regular expressions to be reported
|
|
14
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/invalid-regex-rule.html
|
|
15
|
+
*/
|
|
16
|
+
'regex/another-invalid'?: Linter.RuleEntry<RegexAnotherInvalid>
|
|
17
|
+
/**
|
|
18
|
+
* Required regular expressions to be looked
|
|
19
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/required-regex-rule.html
|
|
20
|
+
*/
|
|
21
|
+
'regex/another-required'?: Linter.RuleEntry<RegexAnotherRequired>
|
|
22
|
+
/**
|
|
23
|
+
* Invalid regular expressions to be reported
|
|
24
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/invalid-regex-rule.html
|
|
25
|
+
*/
|
|
26
|
+
'regex/avoid'?: Linter.RuleEntry<RegexAvoid>
|
|
27
|
+
/**
|
|
28
|
+
* Invalid regular expressions to be reported
|
|
29
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/invalid-regex-rule.html
|
|
30
|
+
*/
|
|
31
|
+
'regex/disuse'?: Linter.RuleEntry<RegexDisuse>
|
|
32
|
+
/**
|
|
33
|
+
* Invalid regular expressions to be reported
|
|
34
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/invalid-regex-rule.html
|
|
35
|
+
*/
|
|
36
|
+
'regex/invalid'?: Linter.RuleEntry<RegexInvalid>
|
|
37
|
+
/**
|
|
38
|
+
* Invalid regular expressions to be reported
|
|
39
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/invalid-regex-rule.html
|
|
40
|
+
*/
|
|
41
|
+
'regex/invalid-error'?: Linter.RuleEntry<RegexInvalidError>
|
|
42
|
+
/**
|
|
43
|
+
* Invalid regular expressions to be reported
|
|
44
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/invalid-regex-rule.html
|
|
45
|
+
*/
|
|
46
|
+
'regex/invalid-warn'?: Linter.RuleEntry<RegexInvalidWarn>
|
|
47
|
+
/**
|
|
48
|
+
* Invalid regular expressions to be reported
|
|
49
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/invalid-regex-rule.html
|
|
50
|
+
*/
|
|
51
|
+
'regex/other-invalid'?: Linter.RuleEntry<RegexOtherInvalid>
|
|
52
|
+
/**
|
|
53
|
+
* Required regular expressions to be looked
|
|
54
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/required-regex-rule.html
|
|
55
|
+
*/
|
|
56
|
+
'regex/other-required'?: Linter.RuleEntry<RegexOtherRequired>
|
|
57
|
+
/**
|
|
58
|
+
* Required regular expressions to be looked
|
|
59
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/required-regex-rule.html
|
|
60
|
+
*/
|
|
61
|
+
'regex/required'?: Linter.RuleEntry<RegexRequired>
|
|
62
|
+
/**
|
|
63
|
+
* Required regular expressions to be looked
|
|
64
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/required-regex-rule.html
|
|
65
|
+
*/
|
|
66
|
+
'regex/required-error'?: Linter.RuleEntry<RegexRequiredError>
|
|
67
|
+
/**
|
|
68
|
+
* Required regular expressions to be looked
|
|
69
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/required-regex-rule.html
|
|
70
|
+
*/
|
|
71
|
+
'regex/required-warn'?: Linter.RuleEntry<RegexRequiredWarn>
|
|
72
|
+
/**
|
|
73
|
+
* Required regular expressions to be looked
|
|
74
|
+
* @see https://eslint-plugin-regex.github.io/docs/rules/required-regex-rule.html
|
|
75
|
+
*/
|
|
76
|
+
'regex/use'?: Linter.RuleEntry<RegexUse>
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* ======= Declarations ======= */
|
|
80
|
+
// ----- regex/another-invalid -----
|
|
81
|
+
type RegexAnotherInvalid = []|[_RegexAnotherInvalid_InvalidRegularExpressions]|[_RegexAnotherInvalid_InvalidRegularExpressions, _RegexAnotherInvalid_IgnoreFilePattern1]
|
|
82
|
+
type _RegexAnotherInvalid_InvalidRegularExpressions = [(_RegexAnotherInvalid_InvalidPattern | _RegexAnotherInvalid_InvalidDetailedPattern), ...((_RegexAnotherInvalid_InvalidPattern | _RegexAnotherInvalid_InvalidDetailedPattern))[]]
|
|
83
|
+
type _RegexAnotherInvalid_InvalidPattern = string
|
|
84
|
+
type _RegexAnotherInvalid_InvalidPatternId = string
|
|
85
|
+
type _RegexAnotherInvalid_InvalidPattern1 = string
|
|
86
|
+
type _RegexAnotherInvalid_RegularExpressionAllowedFlags = string
|
|
87
|
+
type _RegexAnotherInvalid_Replacement = string
|
|
88
|
+
type _RegexAnotherInvalid_ReplacementFunction = string
|
|
89
|
+
type _RegexAnotherInvalid_InvalidMessage = string
|
|
90
|
+
type _RegexAnotherInvalid_IgnoreFilePattern = string
|
|
91
|
+
type _RegexAnotherInvalid_InspectFilePattern = string
|
|
92
|
+
type _RegexAnotherInvalid_IgnoreFilePattern1 = string
|
|
93
|
+
interface _RegexAnotherInvalid_InvalidDetailedPattern {
|
|
94
|
+
id?: _RegexAnotherInvalid_InvalidPatternId
|
|
95
|
+
regex: _RegexAnotherInvalid_InvalidPattern1
|
|
96
|
+
flags?: _RegexAnotherInvalid_RegularExpressionAllowedFlags
|
|
97
|
+
replacement?: (_RegexAnotherInvalid_Replacement | _RegexAnotherInvalid_DetailedReplacement)
|
|
98
|
+
message?: _RegexAnotherInvalid_InvalidMessage
|
|
99
|
+
files?: {
|
|
100
|
+
ignore?: _RegexAnotherInvalid_IgnoreFilePattern
|
|
101
|
+
inspect?: _RegexAnotherInvalid_InspectFilePattern
|
|
102
|
+
[k: string]: unknown | undefined
|
|
103
|
+
}
|
|
104
|
+
[k: string]: unknown | undefined
|
|
105
|
+
}
|
|
106
|
+
interface _RegexAnotherInvalid_DetailedReplacement {
|
|
107
|
+
function?: _RegexAnotherInvalid_ReplacementFunction
|
|
108
|
+
[k: string]: unknown | undefined
|
|
109
|
+
}
|
|
110
|
+
// ----- regex/another-required -----
|
|
111
|
+
type RegexAnotherRequired = []|[_RegexAnotherRequired_RequiredRegularExpressions]|[_RegexAnotherRequired_RequiredRegularExpressions, _RegexAnotherRequired_IgnoreFilePattern1]
|
|
112
|
+
type _RegexAnotherRequired_RequiredRegularExpressions = [(_RegexAnotherRequired_RequiredPattern | _RegexAnotherRequired_RequiredDetailedPattern), ...((_RegexAnotherRequired_RequiredPattern | _RegexAnotherRequired_RequiredDetailedPattern))[]]
|
|
113
|
+
type _RegexAnotherRequired_RequiredPattern = string
|
|
114
|
+
type _RegexAnotherRequired_RequiredPatternId = string
|
|
115
|
+
type _RegexAnotherRequired_RequiredPattern1 = string
|
|
116
|
+
type _RegexAnotherRequired_RegularExpressionAllowedFlags = string
|
|
117
|
+
type _RegexAnotherRequired_RequiredMessage = string
|
|
118
|
+
type _RegexAnotherRequired_IgnoreFilePattern = string
|
|
119
|
+
type _RegexAnotherRequired_InspectFilePattern = string
|
|
120
|
+
type _RegexAnotherRequired_IgnoreFilePattern1 = string
|
|
121
|
+
interface _RegexAnotherRequired_RequiredDetailedPattern {
|
|
122
|
+
id?: _RegexAnotherRequired_RequiredPatternId
|
|
123
|
+
regex: _RegexAnotherRequired_RequiredPattern1
|
|
124
|
+
flags?: _RegexAnotherRequired_RegularExpressionAllowedFlags
|
|
125
|
+
message?: _RegexAnotherRequired_RequiredMessage
|
|
126
|
+
files?: {
|
|
127
|
+
ignore?: _RegexAnotherRequired_IgnoreFilePattern
|
|
128
|
+
inspect?: _RegexAnotherRequired_InspectFilePattern
|
|
129
|
+
[k: string]: unknown | undefined
|
|
130
|
+
}
|
|
131
|
+
[k: string]: unknown | undefined
|
|
132
|
+
}
|
|
133
|
+
// ----- regex/avoid -----
|
|
134
|
+
type RegexAvoid = []|[_RegexAvoid_InvalidRegularExpressions]|[_RegexAvoid_InvalidRegularExpressions, _RegexAvoid_IgnoreFilePattern1]
|
|
135
|
+
type _RegexAvoid_InvalidRegularExpressions = [(_RegexAvoid_InvalidPattern | _RegexAvoid_InvalidDetailedPattern), ...((_RegexAvoid_InvalidPattern | _RegexAvoid_InvalidDetailedPattern))[]]
|
|
136
|
+
type _RegexAvoid_InvalidPattern = string
|
|
137
|
+
type _RegexAvoid_InvalidPatternId = string
|
|
138
|
+
type _RegexAvoid_InvalidPattern1 = string
|
|
139
|
+
type _RegexAvoid_RegularExpressionAllowedFlags = string
|
|
140
|
+
type _RegexAvoid_Replacement = string
|
|
141
|
+
type _RegexAvoid_ReplacementFunction = string
|
|
142
|
+
type _RegexAvoid_InvalidMessage = string
|
|
143
|
+
type _RegexAvoid_IgnoreFilePattern = string
|
|
144
|
+
type _RegexAvoid_InspectFilePattern = string
|
|
145
|
+
type _RegexAvoid_IgnoreFilePattern1 = string
|
|
146
|
+
interface _RegexAvoid_InvalidDetailedPattern {
|
|
147
|
+
id?: _RegexAvoid_InvalidPatternId
|
|
148
|
+
regex: _RegexAvoid_InvalidPattern1
|
|
149
|
+
flags?: _RegexAvoid_RegularExpressionAllowedFlags
|
|
150
|
+
replacement?: (_RegexAvoid_Replacement | _RegexAvoid_DetailedReplacement)
|
|
151
|
+
message?: _RegexAvoid_InvalidMessage
|
|
152
|
+
files?: {
|
|
153
|
+
ignore?: _RegexAvoid_IgnoreFilePattern
|
|
154
|
+
inspect?: _RegexAvoid_InspectFilePattern
|
|
155
|
+
[k: string]: unknown | undefined
|
|
156
|
+
}
|
|
157
|
+
[k: string]: unknown | undefined
|
|
158
|
+
}
|
|
159
|
+
interface _RegexAvoid_DetailedReplacement {
|
|
160
|
+
function?: _RegexAvoid_ReplacementFunction
|
|
161
|
+
[k: string]: unknown | undefined
|
|
162
|
+
}
|
|
163
|
+
// ----- regex/disuse -----
|
|
164
|
+
type RegexDisuse = []|[_RegexDisuse_InvalidRegularExpressions]|[_RegexDisuse_InvalidRegularExpressions, _RegexDisuse_IgnoreFilePattern1]
|
|
165
|
+
type _RegexDisuse_InvalidRegularExpressions = [(_RegexDisuse_InvalidPattern | _RegexDisuse_InvalidDetailedPattern), ...((_RegexDisuse_InvalidPattern | _RegexDisuse_InvalidDetailedPattern))[]]
|
|
166
|
+
type _RegexDisuse_InvalidPattern = string
|
|
167
|
+
type _RegexDisuse_InvalidPatternId = string
|
|
168
|
+
type _RegexDisuse_InvalidPattern1 = string
|
|
169
|
+
type _RegexDisuse_RegularExpressionAllowedFlags = string
|
|
170
|
+
type _RegexDisuse_Replacement = string
|
|
171
|
+
type _RegexDisuse_ReplacementFunction = string
|
|
172
|
+
type _RegexDisuse_InvalidMessage = string
|
|
173
|
+
type _RegexDisuse_IgnoreFilePattern = string
|
|
174
|
+
type _RegexDisuse_InspectFilePattern = string
|
|
175
|
+
type _RegexDisuse_IgnoreFilePattern1 = string
|
|
176
|
+
interface _RegexDisuse_InvalidDetailedPattern {
|
|
177
|
+
id?: _RegexDisuse_InvalidPatternId
|
|
178
|
+
regex: _RegexDisuse_InvalidPattern1
|
|
179
|
+
flags?: _RegexDisuse_RegularExpressionAllowedFlags
|
|
180
|
+
replacement?: (_RegexDisuse_Replacement | _RegexDisuse_DetailedReplacement)
|
|
181
|
+
message?: _RegexDisuse_InvalidMessage
|
|
182
|
+
files?: {
|
|
183
|
+
ignore?: _RegexDisuse_IgnoreFilePattern
|
|
184
|
+
inspect?: _RegexDisuse_InspectFilePattern
|
|
185
|
+
[k: string]: unknown | undefined
|
|
186
|
+
}
|
|
187
|
+
[k: string]: unknown | undefined
|
|
188
|
+
}
|
|
189
|
+
interface _RegexDisuse_DetailedReplacement {
|
|
190
|
+
function?: _RegexDisuse_ReplacementFunction
|
|
191
|
+
[k: string]: unknown | undefined
|
|
192
|
+
}
|
|
193
|
+
// ----- regex/invalid -----
|
|
194
|
+
type RegexInvalid = []|[_RegexInvalid_InvalidRegularExpressions]|[_RegexInvalid_InvalidRegularExpressions, _RegexInvalid_IgnoreFilePattern1]
|
|
195
|
+
type _RegexInvalid_InvalidRegularExpressions = [(_RegexInvalid_InvalidPattern | _RegexInvalid_InvalidDetailedPattern), ...((_RegexInvalid_InvalidPattern | _RegexInvalid_InvalidDetailedPattern))[]]
|
|
196
|
+
type _RegexInvalid_InvalidPattern = string
|
|
197
|
+
type _RegexInvalid_InvalidPatternId = string
|
|
198
|
+
type _RegexInvalid_InvalidPattern1 = string
|
|
199
|
+
type _RegexInvalid_RegularExpressionAllowedFlags = string
|
|
200
|
+
type _RegexInvalid_Replacement = string
|
|
201
|
+
type _RegexInvalid_ReplacementFunction = string
|
|
202
|
+
type _RegexInvalid_InvalidMessage = string
|
|
203
|
+
type _RegexInvalid_IgnoreFilePattern = string
|
|
204
|
+
type _RegexInvalid_InspectFilePattern = string
|
|
205
|
+
type _RegexInvalid_IgnoreFilePattern1 = string
|
|
206
|
+
interface _RegexInvalid_InvalidDetailedPattern {
|
|
207
|
+
id?: _RegexInvalid_InvalidPatternId
|
|
208
|
+
regex: _RegexInvalid_InvalidPattern1
|
|
209
|
+
flags?: _RegexInvalid_RegularExpressionAllowedFlags
|
|
210
|
+
replacement?: (_RegexInvalid_Replacement | _RegexInvalid_DetailedReplacement)
|
|
211
|
+
message?: _RegexInvalid_InvalidMessage
|
|
212
|
+
files?: {
|
|
213
|
+
ignore?: _RegexInvalid_IgnoreFilePattern
|
|
214
|
+
inspect?: _RegexInvalid_InspectFilePattern
|
|
215
|
+
[k: string]: unknown | undefined
|
|
216
|
+
}
|
|
217
|
+
[k: string]: unknown | undefined
|
|
218
|
+
}
|
|
219
|
+
interface _RegexInvalid_DetailedReplacement {
|
|
220
|
+
function?: _RegexInvalid_ReplacementFunction
|
|
221
|
+
[k: string]: unknown | undefined
|
|
222
|
+
}
|
|
223
|
+
// ----- regex/invalid-error -----
|
|
224
|
+
type RegexInvalidError = []|[_RegexInvalidError_InvalidRegularExpressions]|[_RegexInvalidError_InvalidRegularExpressions, _RegexInvalidError_IgnoreFilePattern1]
|
|
225
|
+
type _RegexInvalidError_InvalidRegularExpressions = [(_RegexInvalidError_InvalidPattern | _RegexInvalidError_InvalidDetailedPattern), ...((_RegexInvalidError_InvalidPattern | _RegexInvalidError_InvalidDetailedPattern))[]]
|
|
226
|
+
type _RegexInvalidError_InvalidPattern = string
|
|
227
|
+
type _RegexInvalidError_InvalidPatternId = string
|
|
228
|
+
type _RegexInvalidError_InvalidPattern1 = string
|
|
229
|
+
type _RegexInvalidError_RegularExpressionAllowedFlags = string
|
|
230
|
+
type _RegexInvalidError_Replacement = string
|
|
231
|
+
type _RegexInvalidError_ReplacementFunction = string
|
|
232
|
+
type _RegexInvalidError_InvalidMessage = string
|
|
233
|
+
type _RegexInvalidError_IgnoreFilePattern = string
|
|
234
|
+
type _RegexInvalidError_InspectFilePattern = string
|
|
235
|
+
type _RegexInvalidError_IgnoreFilePattern1 = string
|
|
236
|
+
interface _RegexInvalidError_InvalidDetailedPattern {
|
|
237
|
+
id?: _RegexInvalidError_InvalidPatternId
|
|
238
|
+
regex: _RegexInvalidError_InvalidPattern1
|
|
239
|
+
flags?: _RegexInvalidError_RegularExpressionAllowedFlags
|
|
240
|
+
replacement?: (_RegexInvalidError_Replacement | _RegexInvalidError_DetailedReplacement)
|
|
241
|
+
message?: _RegexInvalidError_InvalidMessage
|
|
242
|
+
files?: {
|
|
243
|
+
ignore?: _RegexInvalidError_IgnoreFilePattern
|
|
244
|
+
inspect?: _RegexInvalidError_InspectFilePattern
|
|
245
|
+
[k: string]: unknown | undefined
|
|
246
|
+
}
|
|
247
|
+
[k: string]: unknown | undefined
|
|
248
|
+
}
|
|
249
|
+
interface _RegexInvalidError_DetailedReplacement {
|
|
250
|
+
function?: _RegexInvalidError_ReplacementFunction
|
|
251
|
+
[k: string]: unknown | undefined
|
|
252
|
+
}
|
|
253
|
+
// ----- regex/invalid-warn -----
|
|
254
|
+
type RegexInvalidWarn = []|[_RegexInvalidWarn_InvalidRegularExpressions]|[_RegexInvalidWarn_InvalidRegularExpressions, _RegexInvalidWarn_IgnoreFilePattern1]
|
|
255
|
+
type _RegexInvalidWarn_InvalidRegularExpressions = [(_RegexInvalidWarn_InvalidPattern | _RegexInvalidWarn_InvalidDetailedPattern), ...((_RegexInvalidWarn_InvalidPattern | _RegexInvalidWarn_InvalidDetailedPattern))[]]
|
|
256
|
+
type _RegexInvalidWarn_InvalidPattern = string
|
|
257
|
+
type _RegexInvalidWarn_InvalidPatternId = string
|
|
258
|
+
type _RegexInvalidWarn_InvalidPattern1 = string
|
|
259
|
+
type _RegexInvalidWarn_RegularExpressionAllowedFlags = string
|
|
260
|
+
type _RegexInvalidWarn_Replacement = string
|
|
261
|
+
type _RegexInvalidWarn_ReplacementFunction = string
|
|
262
|
+
type _RegexInvalidWarn_InvalidMessage = string
|
|
263
|
+
type _RegexInvalidWarn_IgnoreFilePattern = string
|
|
264
|
+
type _RegexInvalidWarn_InspectFilePattern = string
|
|
265
|
+
type _RegexInvalidWarn_IgnoreFilePattern1 = string
|
|
266
|
+
interface _RegexInvalidWarn_InvalidDetailedPattern {
|
|
267
|
+
id?: _RegexInvalidWarn_InvalidPatternId
|
|
268
|
+
regex: _RegexInvalidWarn_InvalidPattern1
|
|
269
|
+
flags?: _RegexInvalidWarn_RegularExpressionAllowedFlags
|
|
270
|
+
replacement?: (_RegexInvalidWarn_Replacement | _RegexInvalidWarn_DetailedReplacement)
|
|
271
|
+
message?: _RegexInvalidWarn_InvalidMessage
|
|
272
|
+
files?: {
|
|
273
|
+
ignore?: _RegexInvalidWarn_IgnoreFilePattern
|
|
274
|
+
inspect?: _RegexInvalidWarn_InspectFilePattern
|
|
275
|
+
[k: string]: unknown | undefined
|
|
276
|
+
}
|
|
277
|
+
[k: string]: unknown | undefined
|
|
278
|
+
}
|
|
279
|
+
interface _RegexInvalidWarn_DetailedReplacement {
|
|
280
|
+
function?: _RegexInvalidWarn_ReplacementFunction
|
|
281
|
+
[k: string]: unknown | undefined
|
|
282
|
+
}
|
|
283
|
+
// ----- regex/other-invalid -----
|
|
284
|
+
type RegexOtherInvalid = []|[_RegexOtherInvalid_InvalidRegularExpressions]|[_RegexOtherInvalid_InvalidRegularExpressions, _RegexOtherInvalid_IgnoreFilePattern1]
|
|
285
|
+
type _RegexOtherInvalid_InvalidRegularExpressions = [(_RegexOtherInvalid_InvalidPattern | _RegexOtherInvalid_InvalidDetailedPattern), ...((_RegexOtherInvalid_InvalidPattern | _RegexOtherInvalid_InvalidDetailedPattern))[]]
|
|
286
|
+
type _RegexOtherInvalid_InvalidPattern = string
|
|
287
|
+
type _RegexOtherInvalid_InvalidPatternId = string
|
|
288
|
+
type _RegexOtherInvalid_InvalidPattern1 = string
|
|
289
|
+
type _RegexOtherInvalid_RegularExpressionAllowedFlags = string
|
|
290
|
+
type _RegexOtherInvalid_Replacement = string
|
|
291
|
+
type _RegexOtherInvalid_ReplacementFunction = string
|
|
292
|
+
type _RegexOtherInvalid_InvalidMessage = string
|
|
293
|
+
type _RegexOtherInvalid_IgnoreFilePattern = string
|
|
294
|
+
type _RegexOtherInvalid_InspectFilePattern = string
|
|
295
|
+
type _RegexOtherInvalid_IgnoreFilePattern1 = string
|
|
296
|
+
interface _RegexOtherInvalid_InvalidDetailedPattern {
|
|
297
|
+
id?: _RegexOtherInvalid_InvalidPatternId
|
|
298
|
+
regex: _RegexOtherInvalid_InvalidPattern1
|
|
299
|
+
flags?: _RegexOtherInvalid_RegularExpressionAllowedFlags
|
|
300
|
+
replacement?: (_RegexOtherInvalid_Replacement | _RegexOtherInvalid_DetailedReplacement)
|
|
301
|
+
message?: _RegexOtherInvalid_InvalidMessage
|
|
302
|
+
files?: {
|
|
303
|
+
ignore?: _RegexOtherInvalid_IgnoreFilePattern
|
|
304
|
+
inspect?: _RegexOtherInvalid_InspectFilePattern
|
|
305
|
+
[k: string]: unknown | undefined
|
|
306
|
+
}
|
|
307
|
+
[k: string]: unknown | undefined
|
|
308
|
+
}
|
|
309
|
+
interface _RegexOtherInvalid_DetailedReplacement {
|
|
310
|
+
function?: _RegexOtherInvalid_ReplacementFunction
|
|
311
|
+
[k: string]: unknown | undefined
|
|
312
|
+
}
|
|
313
|
+
// ----- regex/other-required -----
|
|
314
|
+
type RegexOtherRequired = []|[_RegexOtherRequired_RequiredRegularExpressions]|[_RegexOtherRequired_RequiredRegularExpressions, _RegexOtherRequired_IgnoreFilePattern1]
|
|
315
|
+
type _RegexOtherRequired_RequiredRegularExpressions = [(_RegexOtherRequired_RequiredPattern | _RegexOtherRequired_RequiredDetailedPattern), ...((_RegexOtherRequired_RequiredPattern | _RegexOtherRequired_RequiredDetailedPattern))[]]
|
|
316
|
+
type _RegexOtherRequired_RequiredPattern = string
|
|
317
|
+
type _RegexOtherRequired_RequiredPatternId = string
|
|
318
|
+
type _RegexOtherRequired_RequiredPattern1 = string
|
|
319
|
+
type _RegexOtherRequired_RegularExpressionAllowedFlags = string
|
|
320
|
+
type _RegexOtherRequired_RequiredMessage = string
|
|
321
|
+
type _RegexOtherRequired_IgnoreFilePattern = string
|
|
322
|
+
type _RegexOtherRequired_InspectFilePattern = string
|
|
323
|
+
type _RegexOtherRequired_IgnoreFilePattern1 = string
|
|
324
|
+
interface _RegexOtherRequired_RequiredDetailedPattern {
|
|
325
|
+
id?: _RegexOtherRequired_RequiredPatternId
|
|
326
|
+
regex: _RegexOtherRequired_RequiredPattern1
|
|
327
|
+
flags?: _RegexOtherRequired_RegularExpressionAllowedFlags
|
|
328
|
+
message?: _RegexOtherRequired_RequiredMessage
|
|
329
|
+
files?: {
|
|
330
|
+
ignore?: _RegexOtherRequired_IgnoreFilePattern
|
|
331
|
+
inspect?: _RegexOtherRequired_InspectFilePattern
|
|
332
|
+
[k: string]: unknown | undefined
|
|
333
|
+
}
|
|
334
|
+
[k: string]: unknown | undefined
|
|
335
|
+
}
|
|
336
|
+
// ----- regex/required -----
|
|
337
|
+
type RegexRequired = []|[_RegexRequired_RequiredRegularExpressions]|[_RegexRequired_RequiredRegularExpressions, _RegexRequired_IgnoreFilePattern1]
|
|
338
|
+
type _RegexRequired_RequiredRegularExpressions = [(_RegexRequired_RequiredPattern | _RegexRequired_RequiredDetailedPattern), ...((_RegexRequired_RequiredPattern | _RegexRequired_RequiredDetailedPattern))[]]
|
|
339
|
+
type _RegexRequired_RequiredPattern = string
|
|
340
|
+
type _RegexRequired_RequiredPatternId = string
|
|
341
|
+
type _RegexRequired_RequiredPattern1 = string
|
|
342
|
+
type _RegexRequired_RegularExpressionAllowedFlags = string
|
|
343
|
+
type _RegexRequired_RequiredMessage = string
|
|
344
|
+
type _RegexRequired_IgnoreFilePattern = string
|
|
345
|
+
type _RegexRequired_InspectFilePattern = string
|
|
346
|
+
type _RegexRequired_IgnoreFilePattern1 = string
|
|
347
|
+
interface _RegexRequired_RequiredDetailedPattern {
|
|
348
|
+
id?: _RegexRequired_RequiredPatternId
|
|
349
|
+
regex: _RegexRequired_RequiredPattern1
|
|
350
|
+
flags?: _RegexRequired_RegularExpressionAllowedFlags
|
|
351
|
+
message?: _RegexRequired_RequiredMessage
|
|
352
|
+
files?: {
|
|
353
|
+
ignore?: _RegexRequired_IgnoreFilePattern
|
|
354
|
+
inspect?: _RegexRequired_InspectFilePattern
|
|
355
|
+
[k: string]: unknown | undefined
|
|
356
|
+
}
|
|
357
|
+
[k: string]: unknown | undefined
|
|
358
|
+
}
|
|
359
|
+
// ----- regex/required-error -----
|
|
360
|
+
type RegexRequiredError = []|[_RegexRequiredError_RequiredRegularExpressions]|[_RegexRequiredError_RequiredRegularExpressions, _RegexRequiredError_IgnoreFilePattern1]
|
|
361
|
+
type _RegexRequiredError_RequiredRegularExpressions = [(_RegexRequiredError_RequiredPattern | _RegexRequiredError_RequiredDetailedPattern), ...((_RegexRequiredError_RequiredPattern | _RegexRequiredError_RequiredDetailedPattern))[]]
|
|
362
|
+
type _RegexRequiredError_RequiredPattern = string
|
|
363
|
+
type _RegexRequiredError_RequiredPatternId = string
|
|
364
|
+
type _RegexRequiredError_RequiredPattern1 = string
|
|
365
|
+
type _RegexRequiredError_RegularExpressionAllowedFlags = string
|
|
366
|
+
type _RegexRequiredError_RequiredMessage = string
|
|
367
|
+
type _RegexRequiredError_IgnoreFilePattern = string
|
|
368
|
+
type _RegexRequiredError_InspectFilePattern = string
|
|
369
|
+
type _RegexRequiredError_IgnoreFilePattern1 = string
|
|
370
|
+
interface _RegexRequiredError_RequiredDetailedPattern {
|
|
371
|
+
id?: _RegexRequiredError_RequiredPatternId
|
|
372
|
+
regex: _RegexRequiredError_RequiredPattern1
|
|
373
|
+
flags?: _RegexRequiredError_RegularExpressionAllowedFlags
|
|
374
|
+
message?: _RegexRequiredError_RequiredMessage
|
|
375
|
+
files?: {
|
|
376
|
+
ignore?: _RegexRequiredError_IgnoreFilePattern
|
|
377
|
+
inspect?: _RegexRequiredError_InspectFilePattern
|
|
378
|
+
[k: string]: unknown | undefined
|
|
379
|
+
}
|
|
380
|
+
[k: string]: unknown | undefined
|
|
381
|
+
}
|
|
382
|
+
// ----- regex/required-warn -----
|
|
383
|
+
type RegexRequiredWarn = []|[_RegexRequiredWarn_RequiredRegularExpressions]|[_RegexRequiredWarn_RequiredRegularExpressions, _RegexRequiredWarn_IgnoreFilePattern1]
|
|
384
|
+
type _RegexRequiredWarn_RequiredRegularExpressions = [(_RegexRequiredWarn_RequiredPattern | _RegexRequiredWarn_RequiredDetailedPattern), ...((_RegexRequiredWarn_RequiredPattern | _RegexRequiredWarn_RequiredDetailedPattern))[]]
|
|
385
|
+
type _RegexRequiredWarn_RequiredPattern = string
|
|
386
|
+
type _RegexRequiredWarn_RequiredPatternId = string
|
|
387
|
+
type _RegexRequiredWarn_RequiredPattern1 = string
|
|
388
|
+
type _RegexRequiredWarn_RegularExpressionAllowedFlags = string
|
|
389
|
+
type _RegexRequiredWarn_RequiredMessage = string
|
|
390
|
+
type _RegexRequiredWarn_IgnoreFilePattern = string
|
|
391
|
+
type _RegexRequiredWarn_InspectFilePattern = string
|
|
392
|
+
type _RegexRequiredWarn_IgnoreFilePattern1 = string
|
|
393
|
+
interface _RegexRequiredWarn_RequiredDetailedPattern {
|
|
394
|
+
id?: _RegexRequiredWarn_RequiredPatternId
|
|
395
|
+
regex: _RegexRequiredWarn_RequiredPattern1
|
|
396
|
+
flags?: _RegexRequiredWarn_RegularExpressionAllowedFlags
|
|
397
|
+
message?: _RegexRequiredWarn_RequiredMessage
|
|
398
|
+
files?: {
|
|
399
|
+
ignore?: _RegexRequiredWarn_IgnoreFilePattern
|
|
400
|
+
inspect?: _RegexRequiredWarn_InspectFilePattern
|
|
401
|
+
[k: string]: unknown | undefined
|
|
402
|
+
}
|
|
403
|
+
[k: string]: unknown | undefined
|
|
404
|
+
}
|
|
405
|
+
// ----- regex/use -----
|
|
406
|
+
type RegexUse = []|[_RegexUse_RequiredRegularExpressions]|[_RegexUse_RequiredRegularExpressions, _RegexUse_IgnoreFilePattern1]
|
|
407
|
+
type _RegexUse_RequiredRegularExpressions = [(_RegexUse_RequiredPattern | _RegexUse_RequiredDetailedPattern), ...((_RegexUse_RequiredPattern | _RegexUse_RequiredDetailedPattern))[]]
|
|
408
|
+
type _RegexUse_RequiredPattern = string
|
|
409
|
+
type _RegexUse_RequiredPatternId = string
|
|
410
|
+
type _RegexUse_RequiredPattern1 = string
|
|
411
|
+
type _RegexUse_RegularExpressionAllowedFlags = string
|
|
412
|
+
type _RegexUse_RequiredMessage = string
|
|
413
|
+
type _RegexUse_IgnoreFilePattern = string
|
|
414
|
+
type _RegexUse_InspectFilePattern = string
|
|
415
|
+
type _RegexUse_IgnoreFilePattern1 = string
|
|
416
|
+
interface _RegexUse_RequiredDetailedPattern {
|
|
417
|
+
id?: _RegexUse_RequiredPatternId
|
|
418
|
+
regex: _RegexUse_RequiredPattern1
|
|
419
|
+
flags?: _RegexUse_RegularExpressionAllowedFlags
|
|
420
|
+
message?: _RegexUse_RequiredMessage
|
|
421
|
+
files?: {
|
|
422
|
+
ignore?: _RegexUse_IgnoreFilePattern
|
|
423
|
+
inspect?: _RegexUse_InspectFilePattern
|
|
424
|
+
[k: string]: unknown | undefined
|
|
425
|
+
}
|
|
426
|
+
[k: string]: unknown | undefined
|
|
427
|
+
}
|