@eslinted/core 8.0.0 → 9.0.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.
Files changed (114) hide show
  1. package/.github/workflows/RELEASE.yml +36 -36
  2. package/.github/workflows/rc.yml +36 -36
  3. package/.markdownlint.jsonc +122 -122
  4. package/LICENSE +21 -21
  5. package/README.md +5 -5
  6. package/SECURITY.md +9 -9
  7. package/eslint.config.js +3 -3
  8. package/package.json +96 -96
  9. package/src/factory/files.ts +26 -26
  10. package/src/factory/index.ts +27 -27
  11. package/src/factory/options/html.ts +18 -18
  12. package/src/factory/options/index.ts +21 -21
  13. package/src/factory/options/js.ts +13 -13
  14. package/src/factory/options/json.ts +18 -18
  15. package/src/factory/options/jsonc.ts +18 -18
  16. package/src/factory/options/mocha.ts +28 -28
  17. package/src/factory/options/option/index.ts +91 -91
  18. package/src/factory/options/option/template/globals.ts +5 -5
  19. package/src/factory/options/option/template/index.ts +26 -26
  20. package/src/factory/options/option/template/language/ecma.ts +3 -3
  21. package/src/factory/options/option/template/language/index.ts +21 -21
  22. package/src/factory/options/option/template/language/source.ts +4 -4
  23. package/src/factory/options/option/template/linter.ts +8 -8
  24. package/src/factory/options/option/template/plugins.ts +1 -1
  25. package/src/factory/options/svelte.ts +32 -32
  26. package/src/factory/options/ts.ts +24 -24
  27. package/src/factory/options/yml.ts +18 -18
  28. package/src/factory/rulesets/index.ts +24 -24
  29. package/src/factory/rulesets/ruleset.ts +25 -25
  30. package/src/index.ts +77 -77
  31. package/src/input/files.ts +6 -6
  32. package/src/input/imports/parsers.ts +10 -10
  33. package/src/input/imports/plugins.ts +9 -9
  34. package/src/input/index.ts +23 -23
  35. package/src/input/parsers.ts +3 -3
  36. package/src/input/plugins.ts +3 -3
  37. package/src/input/rules/entry/index.ts +7 -7
  38. package/src/input/rules/entry/record/index.ts +3 -3
  39. package/src/input/rules/entry/record/state.ts +5 -5
  40. package/src/input/rules/index.ts +14 -14
  41. package/src/output.ts +24 -24
  42. package/src/scopes.spec.ts +37 -37
  43. package/src/scopes.ts +11 -11
  44. package/tsconfig.json +163 -163
  45. package/typings/common/literals/number/bases/base32.d.ts +19 -19
  46. package/typings/common/literals/number/bases/base64.d.ts +35 -35
  47. package/typings/common/literals/number/bases/binary.d.ts +4 -4
  48. package/typings/common/literals/number/bases/decimal.d.ts +5 -5
  49. package/typings/common/literals/number/bases/hex.d.ts +10 -10
  50. package/typings/common/literals/number/bases/octal.d.ts +7 -7
  51. package/typings/common/literals/number/bases/quatral.d.ts +4 -4
  52. package/typings/common/literals/number/bases/ternary.d.ts +4 -4
  53. package/typings/common/literals/string/letter/digit/extended/base64/index.d.ts +13 -13
  54. package/typings/common/literals/string/letter/digit/extended/hex/index.d.ts +9 -9
  55. package/typings/common/literals/string/letter/digit/index.d.ts +12 -12
  56. package/typings/common/literals/string/letter/index.d.ts +35 -35
  57. package/typings/common/primitive/index.d.ts +5 -5
  58. package/typings/common/safe/index.d.ts +2 -2
  59. package/typings/common/safe/numbers/finite/index.d.ts +2 -2
  60. package/typings/common/safe/numbers/fint.d.ts +1 -1
  61. package/typings/common/safe/numbers/integer/index.d.ts +2 -2
  62. package/typings/common/safe/numbers/integer/numberful/index.d.ts +1 -1
  63. package/typings/common/safe/numbers/polarity/negative.d.ts +4 -4
  64. package/typings/common/safe/numbers/polarity/pole/index.d.ts +18 -18
  65. package/typings/common/safe/numbers/polarity/positive.d.ts +4 -4
  66. package/typings/common/safe/strings/char.d.ts +1 -1
  67. package/typings/common/safe/strings/stringful/index.d.ts +1 -1
  68. package/typings/common/safe/strings/stringful/length/index.d.ts +3 -3
  69. package/typings/common/utility/interface/build/particord/index.d.ts +1 -1
  70. package/typings/common/utility/interface/build/properties/Field.d.ts +1 -1
  71. package/typings/common/utility/interface/build/properties/Flag.d.ts +1 -1
  72. package/typings/common/utility/interface/build/properties/Limit.d.ts +8 -8
  73. package/typings/common/utility/interface/build/properties/List.d.ts +1 -1
  74. package/typings/common/utility/interface/build/properties/Listish.d.ts +1 -1
  75. package/typings/common/utility/interface/build/properties/Scalar.d.ts +1 -1
  76. package/typings/common/utility/interface/build/properties/property/index.d.ts +8 -8
  77. package/typings/common/utility/interface/build/recordful/index.d.ts +5 -5
  78. package/typings/common/utility/interface/build/tables/FieldTable.d.ts +1 -1
  79. package/typings/common/utility/interface/build/tables/FlagTable.d.ts +1 -1
  80. package/typings/common/utility/interface/build/tables/ListTable.d.ts +1 -1
  81. package/typings/common/utility/interface/build/tables/ListishTable.d.ts +1 -1
  82. package/typings/common/utility/interface/build/tables/ScalarTable.d.ts +1 -1
  83. package/typings/common/utility/interface/build/tables/table/index.d.ts +3 -3
  84. package/typings/common/utility/interface/identity/interface/index.d.ts +80 -80
  85. package/typings/common/utility/interface/identity/keys/index.d.ts +71 -71
  86. package/typings/common/utility/interface/transform/partial/unrequire/index.d.ts +45 -45
  87. package/typings/common/utility/iterable/build/arrays/array/index.d.ts +11 -11
  88. package/typings/common/utility/iterable/build/arrays/index.d.ts +2 -2
  89. package/typings/common/utility/iterable/build/tuples/index.d.ts +10 -10
  90. package/typings/common/utility/iterable/build/tuples/tuple/index.d.ts +26 -26
  91. package/typings/common/utility/iterable/identity/array/index.d.ts +65 -65
  92. package/typings/common/utility/iterable/identity/array/length/index.d.ts +16 -16
  93. package/typings/common/utility/iterable/identity/dyad.d.ts +3 -3
  94. package/typings/common/utility/iterable/identity/monad.d.ts +48 -48
  95. package/typings/common/utility/iterable/identity/triad.d.ts +3 -3
  96. package/typings/common/utility/iterable/transform/flat/index.d.ts +3 -3
  97. package/typings/common/utility/iterable/transform/flat/unflat/index.d.ts +3 -3
  98. package/typings/common/utility/iterable/transform/string/index.d.ts +30 -30
  99. package/typings/common/utility/iterable/transform/string/stringify/index.d.ts +27 -27
  100. package/typings/common/utility/nullable/index.d.ts +1 -1
  101. package/typings/common/utility/nullable/index.spec.d.ts +13 -13
  102. package/typings/common/utility/nullable/null/index.d.ts +1 -1
  103. package/typings/common/utility/nullable/null/index.spec.d.ts +13 -13
  104. package/typings/common/utility/object/build/index.d.ts +3 -3
  105. package/typings/common/utility/primitive/boolean/true/index.d.ts +30 -30
  106. package/typings/common/utility/primitive/index.d.ts +42 -42
  107. package/typings/common/utility/primitive/number/length/index.d.ts +35 -35
  108. package/typings/common/utility/primitive/number/length/numbered/index.d.ts +35 -35
  109. package/typings/common/utility/primitive/string/fake/index.d.ts +1 -1
  110. package/typings/common/utility/primitive/string/literalful/index.d.ts +28 -28
  111. package/typings/common/utility/primitive/string/literalful/literal/index.d.ts +22 -22
  112. package/typings/common/utility/test.d.ts +2 -2
  113. package/typings/common/valid/index.d.ts +7 -7
  114. package/typings/common/valid/string/index.d.ts +1 -1
package/tsconfig.json CHANGED
@@ -1,163 +1,163 @@
1
- {
2
- "display": "@jimbojet/tsc",
3
- "version": "5.6.9",
4
- "$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
5
- "$schema": "https://json.schemastore.org/tsconfig",
6
- "include": [
7
- "*.config.ts",
8
- "src/**/*.ts",
9
- "tests/**/*.ts",
10
- "typings/**/*.d.ts",
11
- ],
12
- "exclude": [],
13
- "compilerOptions": {
14
- // #region TYPE CHECKING
15
- "allowUnreachableCode": false,
16
- "allowUnusedLabels": false,
17
- "alwaysStrict": true,
18
- "exactOptionalPropertyTypes": true,
19
- "noFallthroughCasesInSwitch": true,
20
- "noImplicitAny": true,
21
- "noImplicitOverride": true,
22
- "noImplicitReturns": true,
23
- "noImplicitThis": true,
24
- "noPropertyAccessFromIndexSignature": true,
25
- "noUncheckedIndexedAccess": true,
26
- "noUnusedLocals": true,
27
- "noUnusedParameters": true,
28
- "strict": true,
29
- "strictBindCallApply": true,
30
- "strictFunctionTypes": true,
31
- "strictNullChecks": true,
32
- "strictPropertyInitialization": true,
33
- "useUnknownInCatchVariables": true,
34
- // #endregion TYPE CHECKING
35
-
36
-
37
- // #region MODULES
38
- "allowArbitraryExtensions": true,
39
- // "allowImportingTsExtensions": true,
40
- // "allowUmdGlobalAccess": true,
41
- // "baseUrl": "./",
42
- // "customConditions": [],
43
- "module": "es2022",
44
- "moduleResolution": "bundler",
45
- // "moduleSuffixes": [],
46
- // "noResolve": true,
47
- // "paths": { "*": ["node_modules/*"] },
48
- // "resolveJsonModule": true,
49
- // "resolvePackageJsonExports": true,
50
- // "resolvePackageJsonImports": true,
51
- "rootDir": "src",
52
- // "rootDirs": [],
53
- // "typeRoots": [],
54
- "types": [
55
- "mocha",
56
- "chai",
57
- /* {CONFIGURE} */
58
- ],
59
- // #endregion MODULES
60
-
61
-
62
- // #region EMIT
63
- "declaration": true,
64
- "declarationDir": "dist",
65
- "declarationMap": true,
66
- // "downlevelIteration": true,
67
- // "emitBOM": true,
68
- // "emitDeclarationOnly": true,
69
- // "importHelpers": true,
70
- // "inlineSourceMap": true,
71
- // "inlineSources": true,
72
- // "mapRoot": "",
73
- // "newLine": "crlf",
74
- // "noEmit": true,
75
- // "noEmitHelpers": true,
76
- "noEmitOnError": true,
77
- "outDir": "dist",
78
- // "outFile": "./",
79
- // "preserveConstEnums": true,
80
- "removeComments": true,
81
- "sourceMap": true,
82
- // "sourceRoot": "",
83
- // "stripInternal": true,
84
- // #endregion EMIT
85
-
86
-
87
- // #region JAVASCRIPT SUPPORT
88
- // "allowJs": true,
89
- // "checkJs": true,
90
- // "maxNodeModuleJsDepth": 1,
91
- // #endregion JAVASCRIPT SUPPORT
92
-
93
-
94
- // #region EDITOR SUPPORT
95
- // "disableSizeLimit": false,
96
- // "plugins": [],
97
- // #endregion EDITOR SUPPORT
98
-
99
-
100
- // #region INTEROP CONSTRAINTS
101
- "allowSyntheticDefaultImports": true,
102
- "esModuleInterop": true,
103
- "forceConsistentCasingInFileNames": true,
104
- // "isolatedDeclarations": false,
105
- // "isolatedModules": true,
106
- // "preserveSymlinks": true,
107
- "verbatimModuleSyntax": true,
108
- // #endregion INTEROP CONSTRAINTS
109
-
110
-
111
- // #region LANGUAGE AND ENVIRONMENT
112
- // "emitDecoratorMetadata": true,
113
- // "experimentalDecorators": true,
114
- // "jsx": "preserve",
115
- // "jsxFactory": "",
116
- // "jsxFragmentFactory": "",
117
- // "jsxImportSource": "",
118
- "lib": [
119
- "es2023",
120
- /* {CONFIGURE} */
121
- ],
122
- // "moduleDetection": "auto",
123
- // "noLib": true,
124
- // "reactNamespace": "",
125
- "target": "es2022",
126
- // "useDefineForClassFields": true /* @default: target > es2022 : true; else : false*/,
127
- // #endregion LANGUAGE AND ENVIRONMENT
128
-
129
-
130
- // #region COMPILER DIAGNOSTICS
131
- // "diagnostics": true,
132
- // "explainFiles": true,
133
- // "extendedDiagnostics": true,
134
- // "generateCpuProfile": "profile.cpuprofile",
135
- // "listEmittedFiles": true,
136
- // "listFiles": true,
137
- // "noCheck": true,
138
- // "traceResolution": true,
139
- // #endregion COMPILER DIAGNOSTICS
140
-
141
-
142
- // #region PROJECTS
143
- // "composite": true,
144
- // "disableReferencedProjectLoad": true,
145
- // "disableSolutionSearching": true,
146
- // "disableSourceOfProjectReferenceRedirect": true,
147
- "incremental": true,
148
- "tsBuildInfoFile": "dist/.tsbuildinfo",
149
- // #endregion PROJECTS
150
-
151
-
152
- // #region OUTPUT FORMATTING
153
- // "noErrorTruncation": true,
154
- // "preserveWatchOutput": true,
155
- // "pretty": true,
156
- // #endregion OUTPUT FORMATTING
157
-
158
-
159
- // #region COMPLETENESS
160
- "skipLibCheck": false,
161
- // #endregion COMPLETENESS
162
- },
163
- }
1
+ {
2
+ "display": "@jimbojet/tsc",
3
+ "version": "5.6.9",
4
+ "$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
5
+ "$schema": "https://json.schemastore.org/tsconfig",
6
+ "include": [
7
+ "*.config.ts",
8
+ "src/**/*.ts",
9
+ "tests/**/*.ts",
10
+ "typings/**/*.d.ts",
11
+ ],
12
+ "exclude": [],
13
+ "compilerOptions": {
14
+ // #region TYPE CHECKING
15
+ "allowUnreachableCode": false,
16
+ "allowUnusedLabels": false,
17
+ "alwaysStrict": true,
18
+ "exactOptionalPropertyTypes": true,
19
+ "noFallthroughCasesInSwitch": true,
20
+ "noImplicitAny": true,
21
+ "noImplicitOverride": true,
22
+ "noImplicitReturns": true,
23
+ "noImplicitThis": true,
24
+ "noPropertyAccessFromIndexSignature": true,
25
+ "noUncheckedIndexedAccess": true,
26
+ "noUnusedLocals": true,
27
+ "noUnusedParameters": true,
28
+ "strict": true,
29
+ "strictBindCallApply": true,
30
+ "strictFunctionTypes": true,
31
+ "strictNullChecks": true,
32
+ "strictPropertyInitialization": true,
33
+ "useUnknownInCatchVariables": true,
34
+ // #endregion TYPE CHECKING
35
+
36
+
37
+ // #region MODULES
38
+ "allowArbitraryExtensions": true,
39
+ // "allowImportingTsExtensions": true,
40
+ // "allowUmdGlobalAccess": true,
41
+ // "baseUrl": "./",
42
+ // "customConditions": [],
43
+ "module": "es2022",
44
+ "moduleResolution": "bundler",
45
+ // "moduleSuffixes": [],
46
+ // "noResolve": true,
47
+ // "paths": { "*": ["node_modules/*"] },
48
+ // "resolveJsonModule": true,
49
+ // "resolvePackageJsonExports": true,
50
+ // "resolvePackageJsonImports": true,
51
+ "rootDir": "src",
52
+ // "rootDirs": [],
53
+ // "typeRoots": [],
54
+ "types": [
55
+ "mocha",
56
+ "chai",
57
+ /* {CONFIGURE} */
58
+ ],
59
+ // #endregion MODULES
60
+
61
+
62
+ // #region EMIT
63
+ "declaration": true,
64
+ "declarationDir": "dist",
65
+ "declarationMap": true,
66
+ // "downlevelIteration": true,
67
+ // "emitBOM": true,
68
+ // "emitDeclarationOnly": true,
69
+ // "importHelpers": true,
70
+ // "inlineSourceMap": true,
71
+ // "inlineSources": true,
72
+ // "mapRoot": "",
73
+ // "newLine": "crlf",
74
+ // "noEmit": true,
75
+ // "noEmitHelpers": true,
76
+ "noEmitOnError": true,
77
+ "outDir": "dist",
78
+ // "outFile": "./",
79
+ // "preserveConstEnums": true,
80
+ "removeComments": true,
81
+ "sourceMap": true,
82
+ // "sourceRoot": "",
83
+ // "stripInternal": true,
84
+ // #endregion EMIT
85
+
86
+
87
+ // #region JAVASCRIPT SUPPORT
88
+ // "allowJs": true,
89
+ // "checkJs": true,
90
+ // "maxNodeModuleJsDepth": 1,
91
+ // #endregion JAVASCRIPT SUPPORT
92
+
93
+
94
+ // #region EDITOR SUPPORT
95
+ // "disableSizeLimit": false,
96
+ // "plugins": [],
97
+ // #endregion EDITOR SUPPORT
98
+
99
+
100
+ // #region INTEROP CONSTRAINTS
101
+ "allowSyntheticDefaultImports": true,
102
+ "esModuleInterop": true,
103
+ "forceConsistentCasingInFileNames": true,
104
+ // "isolatedDeclarations": false,
105
+ // "isolatedModules": true,
106
+ // "preserveSymlinks": true,
107
+ "verbatimModuleSyntax": true,
108
+ // #endregion INTEROP CONSTRAINTS
109
+
110
+
111
+ // #region LANGUAGE AND ENVIRONMENT
112
+ // "emitDecoratorMetadata": true,
113
+ // "experimentalDecorators": true,
114
+ // "jsx": "preserve",
115
+ // "jsxFactory": "",
116
+ // "jsxFragmentFactory": "",
117
+ // "jsxImportSource": "",
118
+ "lib": [
119
+ "es2023",
120
+ /* {CONFIGURE} */
121
+ ],
122
+ // "moduleDetection": "auto",
123
+ // "noLib": true,
124
+ // "reactNamespace": "",
125
+ "target": "es2022",
126
+ // "useDefineForClassFields": true /* @default: target > es2022 : true; else : false*/,
127
+ // #endregion LANGUAGE AND ENVIRONMENT
128
+
129
+
130
+ // #region COMPILER DIAGNOSTICS
131
+ // "diagnostics": true,
132
+ // "explainFiles": true,
133
+ // "extendedDiagnostics": true,
134
+ // "generateCpuProfile": "profile.cpuprofile",
135
+ // "listEmittedFiles": true,
136
+ // "listFiles": true,
137
+ // "noCheck": true,
138
+ // "traceResolution": true,
139
+ // #endregion COMPILER DIAGNOSTICS
140
+
141
+
142
+ // #region PROJECTS
143
+ // "composite": true,
144
+ // "disableReferencedProjectLoad": true,
145
+ // "disableSolutionSearching": true,
146
+ // "disableSourceOfProjectReferenceRedirect": true,
147
+ "incremental": true,
148
+ "tsBuildInfoFile": "dist/.tsbuildinfo",
149
+ // #endregion PROJECTS
150
+
151
+
152
+ // #region OUTPUT FORMATTING
153
+ // "noErrorTruncation": true,
154
+ // "preserveWatchOutput": true,
155
+ // "pretty": true,
156
+ // #endregion OUTPUT FORMATTING
157
+
158
+
159
+ // #region COMPLETENESS
160
+ "skipLibCheck": false,
161
+ // #endregion COMPLETENESS
162
+ },
163
+ }
@@ -1,19 +1,19 @@
1
- declare type base32 =
2
- | hex
3
- | 16
4
- | 17
5
- | 18
6
- | 19
7
- | 20
8
- | 21
9
- | 22
10
- | 23
11
- | 24
12
- | 25
13
- | 26
14
- | 27
15
- | 28
16
- | 29
17
- | 30
18
- | 31
19
- ;
1
+ declare type base32 =
2
+ | hex
3
+ | 16
4
+ | 17
5
+ | 18
6
+ | 19
7
+ | 20
8
+ | 21
9
+ | 22
10
+ | 23
11
+ | 24
12
+ | 25
13
+ | 26
14
+ | 27
15
+ | 28
16
+ | 29
17
+ | 30
18
+ | 31
19
+ ;
@@ -1,35 +1,35 @@
1
- declare type base64 =
2
- | base32
3
- | 32
4
- | 33
5
- | 34
6
- | 35
7
- | 36
8
- | 37
9
- | 38
10
- | 39
11
- | 40
12
- | 41
13
- | 42
14
- | 43
15
- | 44
16
- | 45
17
- | 46
18
- | 47
19
- | 48
20
- | 49
21
- | 50
22
- | 51
23
- | 52
24
- | 53
25
- | 54
26
- | 55
27
- | 56
28
- | 57
29
- | 58
30
- | 59
31
- | 60
32
- | 61
33
- | 62
34
- | 63
35
- ;
1
+ declare type base64 =
2
+ | base32
3
+ | 32
4
+ | 33
5
+ | 34
6
+ | 35
7
+ | 36
8
+ | 37
9
+ | 38
10
+ | 39
11
+ | 40
12
+ | 41
13
+ | 42
14
+ | 43
15
+ | 44
16
+ | 45
17
+ | 46
18
+ | 47
19
+ | 48
20
+ | 49
21
+ | 50
22
+ | 51
23
+ | 52
24
+ | 53
25
+ | 54
26
+ | 55
27
+ | 56
28
+ | 57
29
+ | 58
30
+ | 59
31
+ | 60
32
+ | 61
33
+ | 62
34
+ | 63
35
+ ;
@@ -1,4 +1,4 @@
1
- declare type binary =
2
- | 0
3
- | 1
4
- ;
1
+ declare type binary =
2
+ | 0
3
+ | 1
4
+ ;
@@ -1,5 +1,5 @@
1
- declare type decimal =
2
- | octal
3
- | 8
4
- | 9
5
- ;
1
+ declare type decimal =
2
+ | octal
3
+ | 8
4
+ | 9
5
+ ;
@@ -1,10 +1,10 @@
1
- declare type hex =
2
- | decimal
3
- | 9
4
- | 10
5
- | 11
6
- | 12
7
- | 13
8
- | 14
9
- | 15
10
- ;
1
+ declare type hex =
2
+ | decimal
3
+ | 9
4
+ | 10
5
+ | 11
6
+ | 12
7
+ | 13
8
+ | 14
9
+ | 15
10
+ ;
@@ -1,7 +1,7 @@
1
- declare type octal =
2
- | quatral
3
- | 4
4
- | 5
5
- | 6
6
- | 7
7
- ;
1
+ declare type octal =
2
+ | quatral
3
+ | 4
4
+ | 5
5
+ | 6
6
+ | 7
7
+ ;
@@ -1,4 +1,4 @@
1
- declare type quatral =
2
- | ternary
3
- | 3
4
- ;
1
+ declare type quatral =
2
+ | ternary
3
+ | 3
4
+ ;
@@ -1,4 +1,4 @@
1
- declare type ternary =
2
- | binary
3
- | 2
4
- ;
1
+ declare type ternary =
2
+ | binary
3
+ | 2
4
+ ;
@@ -1,13 +1,13 @@
1
- declare type base64char =
2
- | letter
3
- | digit
4
- | "+"
5
- | "/"
6
- ;
7
-
8
- declare type base64pad = "=";
9
-
10
- declare type base64paddedchar =
11
- | base64char
12
- | base64pad
13
- ;
1
+ declare type base64char =
2
+ | letter
3
+ | digit
4
+ | "+"
5
+ | "/"
6
+ ;
7
+
8
+ declare type base64pad = "=";
9
+
10
+ declare type base64paddedchar =
11
+ | base64char
12
+ | base64pad
13
+ ;
@@ -1,9 +1,9 @@
1
- declare type hexchar =
2
- | digit
3
- | "A"
4
- | "B"
5
- | "C"
6
- | "D"
7
- | "E"
8
- | "F"
9
- ;
1
+ declare type hexchar =
2
+ | digit
3
+ | "A"
4
+ | "B"
5
+ | "C"
6
+ | "D"
7
+ | "E"
8
+ | "F"
9
+ ;
@@ -1,12 +1,12 @@
1
- declare type digit =
2
- | "0"
3
- | "1"
4
- | "2"
5
- | "3"
6
- | "4"
7
- | "5"
8
- | "6"
9
- | "7"
10
- | "8"
11
- | "9"
12
- ;
1
+ declare type digit =
2
+ | "0"
3
+ | "1"
4
+ | "2"
5
+ | "3"
6
+ | "4"
7
+ | "5"
8
+ | "6"
9
+ | "7"
10
+ | "8"
11
+ | "9"
12
+ ;
@@ -1,35 +1,35 @@
1
- declare type letter =
2
- | lower
3
- | upper
4
- ;
5
-
6
- declare type lower = Lowercase<upper>;
7
-
8
- declare type upper =
9
- | "A"
10
- | "B"
11
- | "C"
12
- | "D"
13
- | "E"
14
- | "F"
15
- | "G"
16
- | "H"
17
- | "I"
18
- | "J"
19
- | "K"
20
- | "L"
21
- | "M"
22
- | "N"
23
- | "O"
24
- | "P"
25
- | "Q"
26
- | "R"
27
- | "S"
28
- | "T"
29
- | "U"
30
- | "V"
31
- | "W"
32
- | "X"
33
- | "Y"
34
- | "Z"
35
- ;
1
+ declare type letter =
2
+ | lower
3
+ | upper
4
+ ;
5
+
6
+ declare type lower = Lowercase<upper>;
7
+
8
+ declare type upper =
9
+ | "A"
10
+ | "B"
11
+ | "C"
12
+ | "D"
13
+ | "E"
14
+ | "F"
15
+ | "G"
16
+ | "H"
17
+ | "I"
18
+ | "J"
19
+ | "K"
20
+ | "L"
21
+ | "M"
22
+ | "N"
23
+ | "O"
24
+ | "P"
25
+ | "Q"
26
+ | "R"
27
+ | "S"
28
+ | "T"
29
+ | "U"
30
+ | "V"
31
+ | "W"
32
+ | "X"
33
+ | "Y"
34
+ | "Z"
35
+ ;
@@ -1,5 +1,5 @@
1
- declare type primitive =
2
- | string
3
- | number
4
- | boolean
5
- ;
1
+ declare type primitive =
2
+ | string
3
+ | number
4
+ | boolean
5
+ ;