@schematics/angular 16.1.0-next.0 → 16.1.0-next.2

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.
@@ -14,7 +14,7 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
  declare namespace ts {
17
- const versionMajorMinor = "5.0";
17
+ const versionMajorMinor = "5.1";
18
18
  /** The version of the TypeScript compiler release */
19
19
  const version: string;
20
20
  /**
@@ -51,395 +51,397 @@ declare namespace ts {
51
51
  WhitespaceTrivia = 5,
52
52
  ShebangTrivia = 6,
53
53
  ConflictMarkerTrivia = 7,
54
- NumericLiteral = 8,
55
- BigIntLiteral = 9,
56
- StringLiteral = 10,
57
- JsxText = 11,
58
- JsxTextAllWhiteSpaces = 12,
59
- RegularExpressionLiteral = 13,
60
- NoSubstitutionTemplateLiteral = 14,
61
- TemplateHead = 15,
62
- TemplateMiddle = 16,
63
- TemplateTail = 17,
64
- OpenBraceToken = 18,
65
- CloseBraceToken = 19,
66
- OpenParenToken = 20,
67
- CloseParenToken = 21,
68
- OpenBracketToken = 22,
69
- CloseBracketToken = 23,
70
- DotToken = 24,
71
- DotDotDotToken = 25,
72
- SemicolonToken = 26,
73
- CommaToken = 27,
74
- QuestionDotToken = 28,
75
- LessThanToken = 29,
76
- LessThanSlashToken = 30,
77
- GreaterThanToken = 31,
78
- LessThanEqualsToken = 32,
79
- GreaterThanEqualsToken = 33,
80
- EqualsEqualsToken = 34,
81
- ExclamationEqualsToken = 35,
82
- EqualsEqualsEqualsToken = 36,
83
- ExclamationEqualsEqualsToken = 37,
84
- EqualsGreaterThanToken = 38,
85
- PlusToken = 39,
86
- MinusToken = 40,
87
- AsteriskToken = 41,
88
- AsteriskAsteriskToken = 42,
89
- SlashToken = 43,
90
- PercentToken = 44,
91
- PlusPlusToken = 45,
92
- MinusMinusToken = 46,
93
- LessThanLessThanToken = 47,
94
- GreaterThanGreaterThanToken = 48,
95
- GreaterThanGreaterThanGreaterThanToken = 49,
96
- AmpersandToken = 50,
97
- BarToken = 51,
98
- CaretToken = 52,
99
- ExclamationToken = 53,
100
- TildeToken = 54,
101
- AmpersandAmpersandToken = 55,
102
- BarBarToken = 56,
103
- QuestionToken = 57,
104
- ColonToken = 58,
105
- AtToken = 59,
106
- QuestionQuestionToken = 60,
54
+ NonTextFileMarkerTrivia = 8,
55
+ NumericLiteral = 9,
56
+ BigIntLiteral = 10,
57
+ StringLiteral = 11,
58
+ JsxText = 12,
59
+ JsxTextAllWhiteSpaces = 13,
60
+ RegularExpressionLiteral = 14,
61
+ NoSubstitutionTemplateLiteral = 15,
62
+ TemplateHead = 16,
63
+ TemplateMiddle = 17,
64
+ TemplateTail = 18,
65
+ OpenBraceToken = 19,
66
+ CloseBraceToken = 20,
67
+ OpenParenToken = 21,
68
+ CloseParenToken = 22,
69
+ OpenBracketToken = 23,
70
+ CloseBracketToken = 24,
71
+ DotToken = 25,
72
+ DotDotDotToken = 26,
73
+ SemicolonToken = 27,
74
+ CommaToken = 28,
75
+ QuestionDotToken = 29,
76
+ LessThanToken = 30,
77
+ LessThanSlashToken = 31,
78
+ GreaterThanToken = 32,
79
+ LessThanEqualsToken = 33,
80
+ GreaterThanEqualsToken = 34,
81
+ EqualsEqualsToken = 35,
82
+ ExclamationEqualsToken = 36,
83
+ EqualsEqualsEqualsToken = 37,
84
+ ExclamationEqualsEqualsToken = 38,
85
+ EqualsGreaterThanToken = 39,
86
+ PlusToken = 40,
87
+ MinusToken = 41,
88
+ AsteriskToken = 42,
89
+ AsteriskAsteriskToken = 43,
90
+ SlashToken = 44,
91
+ PercentToken = 45,
92
+ PlusPlusToken = 46,
93
+ MinusMinusToken = 47,
94
+ LessThanLessThanToken = 48,
95
+ GreaterThanGreaterThanToken = 49,
96
+ GreaterThanGreaterThanGreaterThanToken = 50,
97
+ AmpersandToken = 51,
98
+ BarToken = 52,
99
+ CaretToken = 53,
100
+ ExclamationToken = 54,
101
+ TildeToken = 55,
102
+ AmpersandAmpersandToken = 56,
103
+ BarBarToken = 57,
104
+ QuestionToken = 58,
105
+ ColonToken = 59,
106
+ AtToken = 60,
107
+ QuestionQuestionToken = 61,
107
108
  /** Only the JSDoc scanner produces BacktickToken. The normal scanner produces NoSubstitutionTemplateLiteral and related kinds. */
108
- BacktickToken = 61,
109
+ BacktickToken = 62,
109
110
  /** Only the JSDoc scanner produces HashToken. The normal scanner produces PrivateIdentifier. */
110
- HashToken = 62,
111
- EqualsToken = 63,
112
- PlusEqualsToken = 64,
113
- MinusEqualsToken = 65,
114
- AsteriskEqualsToken = 66,
115
- AsteriskAsteriskEqualsToken = 67,
116
- SlashEqualsToken = 68,
117
- PercentEqualsToken = 69,
118
- LessThanLessThanEqualsToken = 70,
119
- GreaterThanGreaterThanEqualsToken = 71,
120
- GreaterThanGreaterThanGreaterThanEqualsToken = 72,
121
- AmpersandEqualsToken = 73,
122
- BarEqualsToken = 74,
123
- BarBarEqualsToken = 75,
124
- AmpersandAmpersandEqualsToken = 76,
125
- QuestionQuestionEqualsToken = 77,
126
- CaretEqualsToken = 78,
127
- Identifier = 79,
128
- PrivateIdentifier = 80,
129
- BreakKeyword = 81,
130
- CaseKeyword = 82,
131
- CatchKeyword = 83,
132
- ClassKeyword = 84,
133
- ConstKeyword = 85,
134
- ContinueKeyword = 86,
135
- DebuggerKeyword = 87,
136
- DefaultKeyword = 88,
137
- DeleteKeyword = 89,
138
- DoKeyword = 90,
139
- ElseKeyword = 91,
140
- EnumKeyword = 92,
141
- ExportKeyword = 93,
142
- ExtendsKeyword = 94,
143
- FalseKeyword = 95,
144
- FinallyKeyword = 96,
145
- ForKeyword = 97,
146
- FunctionKeyword = 98,
147
- IfKeyword = 99,
148
- ImportKeyword = 100,
149
- InKeyword = 101,
150
- InstanceOfKeyword = 102,
151
- NewKeyword = 103,
152
- NullKeyword = 104,
153
- ReturnKeyword = 105,
154
- SuperKeyword = 106,
155
- SwitchKeyword = 107,
156
- ThisKeyword = 108,
157
- ThrowKeyword = 109,
158
- TrueKeyword = 110,
159
- TryKeyword = 111,
160
- TypeOfKeyword = 112,
161
- VarKeyword = 113,
162
- VoidKeyword = 114,
163
- WhileKeyword = 115,
164
- WithKeyword = 116,
165
- ImplementsKeyword = 117,
166
- InterfaceKeyword = 118,
167
- LetKeyword = 119,
168
- PackageKeyword = 120,
169
- PrivateKeyword = 121,
170
- ProtectedKeyword = 122,
171
- PublicKeyword = 123,
172
- StaticKeyword = 124,
173
- YieldKeyword = 125,
174
- AbstractKeyword = 126,
175
- AccessorKeyword = 127,
176
- AsKeyword = 128,
177
- AssertsKeyword = 129,
178
- AssertKeyword = 130,
179
- AnyKeyword = 131,
180
- AsyncKeyword = 132,
181
- AwaitKeyword = 133,
182
- BooleanKeyword = 134,
183
- ConstructorKeyword = 135,
184
- DeclareKeyword = 136,
185
- GetKeyword = 137,
186
- InferKeyword = 138,
187
- IntrinsicKeyword = 139,
188
- IsKeyword = 140,
189
- KeyOfKeyword = 141,
190
- ModuleKeyword = 142,
191
- NamespaceKeyword = 143,
192
- NeverKeyword = 144,
193
- OutKeyword = 145,
194
- ReadonlyKeyword = 146,
195
- RequireKeyword = 147,
196
- NumberKeyword = 148,
197
- ObjectKeyword = 149,
198
- SatisfiesKeyword = 150,
199
- SetKeyword = 151,
200
- StringKeyword = 152,
201
- SymbolKeyword = 153,
202
- TypeKeyword = 154,
203
- UndefinedKeyword = 155,
204
- UniqueKeyword = 156,
205
- UnknownKeyword = 157,
206
- FromKeyword = 158,
207
- GlobalKeyword = 159,
208
- BigIntKeyword = 160,
209
- OverrideKeyword = 161,
210
- OfKeyword = 162,
211
- QualifiedName = 163,
212
- ComputedPropertyName = 164,
213
- TypeParameter = 165,
214
- Parameter = 166,
215
- Decorator = 167,
216
- PropertySignature = 168,
217
- PropertyDeclaration = 169,
218
- MethodSignature = 170,
219
- MethodDeclaration = 171,
220
- ClassStaticBlockDeclaration = 172,
221
- Constructor = 173,
222
- GetAccessor = 174,
223
- SetAccessor = 175,
224
- CallSignature = 176,
225
- ConstructSignature = 177,
226
- IndexSignature = 178,
227
- TypePredicate = 179,
228
- TypeReference = 180,
229
- FunctionType = 181,
230
- ConstructorType = 182,
231
- TypeQuery = 183,
232
- TypeLiteral = 184,
233
- ArrayType = 185,
234
- TupleType = 186,
235
- OptionalType = 187,
236
- RestType = 188,
237
- UnionType = 189,
238
- IntersectionType = 190,
239
- ConditionalType = 191,
240
- InferType = 192,
241
- ParenthesizedType = 193,
242
- ThisType = 194,
243
- TypeOperator = 195,
244
- IndexedAccessType = 196,
245
- MappedType = 197,
246
- LiteralType = 198,
247
- NamedTupleMember = 199,
248
- TemplateLiteralType = 200,
249
- TemplateLiteralTypeSpan = 201,
250
- ImportType = 202,
251
- ObjectBindingPattern = 203,
252
- ArrayBindingPattern = 204,
253
- BindingElement = 205,
254
- ArrayLiteralExpression = 206,
255
- ObjectLiteralExpression = 207,
256
- PropertyAccessExpression = 208,
257
- ElementAccessExpression = 209,
258
- CallExpression = 210,
259
- NewExpression = 211,
260
- TaggedTemplateExpression = 212,
261
- TypeAssertionExpression = 213,
262
- ParenthesizedExpression = 214,
263
- FunctionExpression = 215,
264
- ArrowFunction = 216,
265
- DeleteExpression = 217,
266
- TypeOfExpression = 218,
267
- VoidExpression = 219,
268
- AwaitExpression = 220,
269
- PrefixUnaryExpression = 221,
270
- PostfixUnaryExpression = 222,
271
- BinaryExpression = 223,
272
- ConditionalExpression = 224,
273
- TemplateExpression = 225,
274
- YieldExpression = 226,
275
- SpreadElement = 227,
276
- ClassExpression = 228,
277
- OmittedExpression = 229,
278
- ExpressionWithTypeArguments = 230,
279
- AsExpression = 231,
280
- NonNullExpression = 232,
281
- MetaProperty = 233,
282
- SyntheticExpression = 234,
283
- SatisfiesExpression = 235,
284
- TemplateSpan = 236,
285
- SemicolonClassElement = 237,
286
- Block = 238,
287
- EmptyStatement = 239,
288
- VariableStatement = 240,
289
- ExpressionStatement = 241,
290
- IfStatement = 242,
291
- DoStatement = 243,
292
- WhileStatement = 244,
293
- ForStatement = 245,
294
- ForInStatement = 246,
295
- ForOfStatement = 247,
296
- ContinueStatement = 248,
297
- BreakStatement = 249,
298
- ReturnStatement = 250,
299
- WithStatement = 251,
300
- SwitchStatement = 252,
301
- LabeledStatement = 253,
302
- ThrowStatement = 254,
303
- TryStatement = 255,
304
- DebuggerStatement = 256,
305
- VariableDeclaration = 257,
306
- VariableDeclarationList = 258,
307
- FunctionDeclaration = 259,
308
- ClassDeclaration = 260,
309
- InterfaceDeclaration = 261,
310
- TypeAliasDeclaration = 262,
311
- EnumDeclaration = 263,
312
- ModuleDeclaration = 264,
313
- ModuleBlock = 265,
314
- CaseBlock = 266,
315
- NamespaceExportDeclaration = 267,
316
- ImportEqualsDeclaration = 268,
317
- ImportDeclaration = 269,
318
- ImportClause = 270,
319
- NamespaceImport = 271,
320
- NamedImports = 272,
321
- ImportSpecifier = 273,
322
- ExportAssignment = 274,
323
- ExportDeclaration = 275,
324
- NamedExports = 276,
325
- NamespaceExport = 277,
326
- ExportSpecifier = 278,
327
- MissingDeclaration = 279,
328
- ExternalModuleReference = 280,
329
- JsxElement = 281,
330
- JsxSelfClosingElement = 282,
331
- JsxOpeningElement = 283,
332
- JsxClosingElement = 284,
333
- JsxFragment = 285,
334
- JsxOpeningFragment = 286,
335
- JsxClosingFragment = 287,
336
- JsxAttribute = 288,
337
- JsxAttributes = 289,
338
- JsxSpreadAttribute = 290,
339
- JsxExpression = 291,
340
- CaseClause = 292,
341
- DefaultClause = 293,
342
- HeritageClause = 294,
343
- CatchClause = 295,
344
- AssertClause = 296,
345
- AssertEntry = 297,
346
- ImportTypeAssertionContainer = 298,
347
- PropertyAssignment = 299,
348
- ShorthandPropertyAssignment = 300,
349
- SpreadAssignment = 301,
350
- EnumMember = 302,
351
- /** @deprecated */ UnparsedPrologue = 303,
352
- /** @deprecated */ UnparsedPrepend = 304,
353
- /** @deprecated */ UnparsedText = 305,
354
- /** @deprecated */ UnparsedInternalText = 306,
355
- /** @deprecated */ UnparsedSyntheticReference = 307,
356
- SourceFile = 308,
357
- Bundle = 309,
358
- /** @deprecated */ UnparsedSource = 310,
359
- /** @deprecated */ InputFiles = 311,
360
- JSDocTypeExpression = 312,
361
- JSDocNameReference = 313,
362
- JSDocMemberName = 314,
363
- JSDocAllType = 315,
364
- JSDocUnknownType = 316,
365
- JSDocNullableType = 317,
366
- JSDocNonNullableType = 318,
367
- JSDocOptionalType = 319,
368
- JSDocFunctionType = 320,
369
- JSDocVariadicType = 321,
370
- JSDocNamepathType = 322,
371
- JSDoc = 323,
111
+ HashToken = 63,
112
+ EqualsToken = 64,
113
+ PlusEqualsToken = 65,
114
+ MinusEqualsToken = 66,
115
+ AsteriskEqualsToken = 67,
116
+ AsteriskAsteriskEqualsToken = 68,
117
+ SlashEqualsToken = 69,
118
+ PercentEqualsToken = 70,
119
+ LessThanLessThanEqualsToken = 71,
120
+ GreaterThanGreaterThanEqualsToken = 72,
121
+ GreaterThanGreaterThanGreaterThanEqualsToken = 73,
122
+ AmpersandEqualsToken = 74,
123
+ BarEqualsToken = 75,
124
+ BarBarEqualsToken = 76,
125
+ AmpersandAmpersandEqualsToken = 77,
126
+ QuestionQuestionEqualsToken = 78,
127
+ CaretEqualsToken = 79,
128
+ Identifier = 80,
129
+ PrivateIdentifier = 81,
130
+ BreakKeyword = 83,
131
+ CaseKeyword = 84,
132
+ CatchKeyword = 85,
133
+ ClassKeyword = 86,
134
+ ConstKeyword = 87,
135
+ ContinueKeyword = 88,
136
+ DebuggerKeyword = 89,
137
+ DefaultKeyword = 90,
138
+ DeleteKeyword = 91,
139
+ DoKeyword = 92,
140
+ ElseKeyword = 93,
141
+ EnumKeyword = 94,
142
+ ExportKeyword = 95,
143
+ ExtendsKeyword = 96,
144
+ FalseKeyword = 97,
145
+ FinallyKeyword = 98,
146
+ ForKeyword = 99,
147
+ FunctionKeyword = 100,
148
+ IfKeyword = 101,
149
+ ImportKeyword = 102,
150
+ InKeyword = 103,
151
+ InstanceOfKeyword = 104,
152
+ NewKeyword = 105,
153
+ NullKeyword = 106,
154
+ ReturnKeyword = 107,
155
+ SuperKeyword = 108,
156
+ SwitchKeyword = 109,
157
+ ThisKeyword = 110,
158
+ ThrowKeyword = 111,
159
+ TrueKeyword = 112,
160
+ TryKeyword = 113,
161
+ TypeOfKeyword = 114,
162
+ VarKeyword = 115,
163
+ VoidKeyword = 116,
164
+ WhileKeyword = 117,
165
+ WithKeyword = 118,
166
+ ImplementsKeyword = 119,
167
+ InterfaceKeyword = 120,
168
+ LetKeyword = 121,
169
+ PackageKeyword = 122,
170
+ PrivateKeyword = 123,
171
+ ProtectedKeyword = 124,
172
+ PublicKeyword = 125,
173
+ StaticKeyword = 126,
174
+ YieldKeyword = 127,
175
+ AbstractKeyword = 128,
176
+ AccessorKeyword = 129,
177
+ AsKeyword = 130,
178
+ AssertsKeyword = 131,
179
+ AssertKeyword = 132,
180
+ AnyKeyword = 133,
181
+ AsyncKeyword = 134,
182
+ AwaitKeyword = 135,
183
+ BooleanKeyword = 136,
184
+ ConstructorKeyword = 137,
185
+ DeclareKeyword = 138,
186
+ GetKeyword = 139,
187
+ InferKeyword = 140,
188
+ IntrinsicKeyword = 141,
189
+ IsKeyword = 142,
190
+ KeyOfKeyword = 143,
191
+ ModuleKeyword = 144,
192
+ NamespaceKeyword = 145,
193
+ NeverKeyword = 146,
194
+ OutKeyword = 147,
195
+ ReadonlyKeyword = 148,
196
+ RequireKeyword = 149,
197
+ NumberKeyword = 150,
198
+ ObjectKeyword = 151,
199
+ SatisfiesKeyword = 152,
200
+ SetKeyword = 153,
201
+ StringKeyword = 154,
202
+ SymbolKeyword = 155,
203
+ TypeKeyword = 156,
204
+ UndefinedKeyword = 157,
205
+ UniqueKeyword = 158,
206
+ UnknownKeyword = 159,
207
+ FromKeyword = 160,
208
+ GlobalKeyword = 161,
209
+ BigIntKeyword = 162,
210
+ OverrideKeyword = 163,
211
+ OfKeyword = 164,
212
+ QualifiedName = 165,
213
+ ComputedPropertyName = 166,
214
+ TypeParameter = 167,
215
+ Parameter = 168,
216
+ Decorator = 169,
217
+ PropertySignature = 170,
218
+ PropertyDeclaration = 171,
219
+ MethodSignature = 172,
220
+ MethodDeclaration = 173,
221
+ ClassStaticBlockDeclaration = 174,
222
+ Constructor = 175,
223
+ GetAccessor = 176,
224
+ SetAccessor = 177,
225
+ CallSignature = 178,
226
+ ConstructSignature = 179,
227
+ IndexSignature = 180,
228
+ TypePredicate = 181,
229
+ TypeReference = 182,
230
+ FunctionType = 183,
231
+ ConstructorType = 184,
232
+ TypeQuery = 185,
233
+ TypeLiteral = 186,
234
+ ArrayType = 187,
235
+ TupleType = 188,
236
+ OptionalType = 189,
237
+ RestType = 190,
238
+ UnionType = 191,
239
+ IntersectionType = 192,
240
+ ConditionalType = 193,
241
+ InferType = 194,
242
+ ParenthesizedType = 195,
243
+ ThisType = 196,
244
+ TypeOperator = 197,
245
+ IndexedAccessType = 198,
246
+ MappedType = 199,
247
+ LiteralType = 200,
248
+ NamedTupleMember = 201,
249
+ TemplateLiteralType = 202,
250
+ TemplateLiteralTypeSpan = 203,
251
+ ImportType = 204,
252
+ ObjectBindingPattern = 205,
253
+ ArrayBindingPattern = 206,
254
+ BindingElement = 207,
255
+ ArrayLiteralExpression = 208,
256
+ ObjectLiteralExpression = 209,
257
+ PropertyAccessExpression = 210,
258
+ ElementAccessExpression = 211,
259
+ CallExpression = 212,
260
+ NewExpression = 213,
261
+ TaggedTemplateExpression = 214,
262
+ TypeAssertionExpression = 215,
263
+ ParenthesizedExpression = 216,
264
+ FunctionExpression = 217,
265
+ ArrowFunction = 218,
266
+ DeleteExpression = 219,
267
+ TypeOfExpression = 220,
268
+ VoidExpression = 221,
269
+ AwaitExpression = 222,
270
+ PrefixUnaryExpression = 223,
271
+ PostfixUnaryExpression = 224,
272
+ BinaryExpression = 225,
273
+ ConditionalExpression = 226,
274
+ TemplateExpression = 227,
275
+ YieldExpression = 228,
276
+ SpreadElement = 229,
277
+ ClassExpression = 230,
278
+ OmittedExpression = 231,
279
+ ExpressionWithTypeArguments = 232,
280
+ AsExpression = 233,
281
+ NonNullExpression = 234,
282
+ MetaProperty = 235,
283
+ SyntheticExpression = 236,
284
+ SatisfiesExpression = 237,
285
+ TemplateSpan = 238,
286
+ SemicolonClassElement = 239,
287
+ Block = 240,
288
+ EmptyStatement = 241,
289
+ VariableStatement = 242,
290
+ ExpressionStatement = 243,
291
+ IfStatement = 244,
292
+ DoStatement = 245,
293
+ WhileStatement = 246,
294
+ ForStatement = 247,
295
+ ForInStatement = 248,
296
+ ForOfStatement = 249,
297
+ ContinueStatement = 250,
298
+ BreakStatement = 251,
299
+ ReturnStatement = 252,
300
+ WithStatement = 253,
301
+ SwitchStatement = 254,
302
+ LabeledStatement = 255,
303
+ ThrowStatement = 256,
304
+ TryStatement = 257,
305
+ DebuggerStatement = 258,
306
+ VariableDeclaration = 259,
307
+ VariableDeclarationList = 260,
308
+ FunctionDeclaration = 261,
309
+ ClassDeclaration = 262,
310
+ InterfaceDeclaration = 263,
311
+ TypeAliasDeclaration = 264,
312
+ EnumDeclaration = 265,
313
+ ModuleDeclaration = 266,
314
+ ModuleBlock = 267,
315
+ CaseBlock = 268,
316
+ NamespaceExportDeclaration = 269,
317
+ ImportEqualsDeclaration = 270,
318
+ ImportDeclaration = 271,
319
+ ImportClause = 272,
320
+ NamespaceImport = 273,
321
+ NamedImports = 274,
322
+ ImportSpecifier = 275,
323
+ ExportAssignment = 276,
324
+ ExportDeclaration = 277,
325
+ NamedExports = 278,
326
+ NamespaceExport = 279,
327
+ ExportSpecifier = 280,
328
+ MissingDeclaration = 281,
329
+ ExternalModuleReference = 282,
330
+ JsxElement = 283,
331
+ JsxSelfClosingElement = 284,
332
+ JsxOpeningElement = 285,
333
+ JsxClosingElement = 286,
334
+ JsxFragment = 287,
335
+ JsxOpeningFragment = 288,
336
+ JsxClosingFragment = 289,
337
+ JsxAttribute = 290,
338
+ JsxAttributes = 291,
339
+ JsxSpreadAttribute = 292,
340
+ JsxExpression = 293,
341
+ JsxNamespacedName = 294,
342
+ CaseClause = 295,
343
+ DefaultClause = 296,
344
+ HeritageClause = 297,
345
+ CatchClause = 298,
346
+ AssertClause = 299,
347
+ AssertEntry = 300,
348
+ ImportTypeAssertionContainer = 301,
349
+ PropertyAssignment = 302,
350
+ ShorthandPropertyAssignment = 303,
351
+ SpreadAssignment = 304,
352
+ EnumMember = 305,
353
+ /** @deprecated */ UnparsedPrologue = 306,
354
+ /** @deprecated */ UnparsedPrepend = 307,
355
+ /** @deprecated */ UnparsedText = 308,
356
+ /** @deprecated */ UnparsedInternalText = 309,
357
+ /** @deprecated */ UnparsedSyntheticReference = 310,
358
+ SourceFile = 311,
359
+ Bundle = 312,
360
+ /** @deprecated */ UnparsedSource = 313,
361
+ /** @deprecated */ InputFiles = 314,
362
+ JSDocTypeExpression = 315,
363
+ JSDocNameReference = 316,
364
+ JSDocMemberName = 317,
365
+ JSDocAllType = 318,
366
+ JSDocUnknownType = 319,
367
+ JSDocNullableType = 320,
368
+ JSDocNonNullableType = 321,
369
+ JSDocOptionalType = 322,
370
+ JSDocFunctionType = 323,
371
+ JSDocVariadicType = 324,
372
+ JSDocNamepathType = 325,
373
+ JSDoc = 326,
372
374
  /** @deprecated Use SyntaxKind.JSDoc */
373
- JSDocComment = 323,
374
- JSDocText = 324,
375
- JSDocTypeLiteral = 325,
376
- JSDocSignature = 326,
377
- JSDocLink = 327,
378
- JSDocLinkCode = 328,
379
- JSDocLinkPlain = 329,
380
- JSDocTag = 330,
381
- JSDocAugmentsTag = 331,
382
- JSDocImplementsTag = 332,
383
- JSDocAuthorTag = 333,
384
- JSDocDeprecatedTag = 334,
385
- JSDocClassTag = 335,
386
- JSDocPublicTag = 336,
387
- JSDocPrivateTag = 337,
388
- JSDocProtectedTag = 338,
389
- JSDocReadonlyTag = 339,
390
- JSDocOverrideTag = 340,
391
- JSDocCallbackTag = 341,
392
- JSDocOverloadTag = 342,
393
- JSDocEnumTag = 343,
394
- JSDocParameterTag = 344,
395
- JSDocReturnTag = 345,
396
- JSDocThisTag = 346,
397
- JSDocTypeTag = 347,
398
- JSDocTemplateTag = 348,
399
- JSDocTypedefTag = 349,
400
- JSDocSeeTag = 350,
401
- JSDocPropertyTag = 351,
402
- JSDocThrowsTag = 352,
403
- JSDocSatisfiesTag = 353,
404
- SyntaxList = 354,
405
- NotEmittedStatement = 355,
406
- PartiallyEmittedExpression = 356,
407
- CommaListExpression = 357,
408
- MergeDeclarationMarker = 358,
409
- EndOfDeclarationMarker = 359,
410
- SyntheticReferenceExpression = 360,
411
- Count = 361,
412
- FirstAssignment = 63,
413
- LastAssignment = 78,
414
- FirstCompoundAssignment = 64,
415
- LastCompoundAssignment = 78,
416
- FirstReservedWord = 81,
417
- LastReservedWord = 116,
418
- FirstKeyword = 81,
419
- LastKeyword = 162,
420
- FirstFutureReservedWord = 117,
421
- LastFutureReservedWord = 125,
422
- FirstTypeNode = 179,
423
- LastTypeNode = 202,
424
- FirstPunctuation = 18,
425
- LastPunctuation = 78,
375
+ JSDocComment = 326,
376
+ JSDocText = 327,
377
+ JSDocTypeLiteral = 328,
378
+ JSDocSignature = 329,
379
+ JSDocLink = 330,
380
+ JSDocLinkCode = 331,
381
+ JSDocLinkPlain = 332,
382
+ JSDocTag = 333,
383
+ JSDocAugmentsTag = 334,
384
+ JSDocImplementsTag = 335,
385
+ JSDocAuthorTag = 336,
386
+ JSDocDeprecatedTag = 337,
387
+ JSDocClassTag = 338,
388
+ JSDocPublicTag = 339,
389
+ JSDocPrivateTag = 340,
390
+ JSDocProtectedTag = 341,
391
+ JSDocReadonlyTag = 342,
392
+ JSDocOverrideTag = 343,
393
+ JSDocCallbackTag = 344,
394
+ JSDocOverloadTag = 345,
395
+ JSDocEnumTag = 346,
396
+ JSDocParameterTag = 347,
397
+ JSDocReturnTag = 348,
398
+ JSDocThisTag = 349,
399
+ JSDocTypeTag = 350,
400
+ JSDocTemplateTag = 351,
401
+ JSDocTypedefTag = 352,
402
+ JSDocSeeTag = 353,
403
+ JSDocPropertyTag = 354,
404
+ JSDocThrowsTag = 355,
405
+ JSDocSatisfiesTag = 356,
406
+ SyntaxList = 357,
407
+ NotEmittedStatement = 358,
408
+ PartiallyEmittedExpression = 359,
409
+ CommaListExpression = 360,
410
+ MergeDeclarationMarker = 361,
411
+ EndOfDeclarationMarker = 362,
412
+ SyntheticReferenceExpression = 363,
413
+ Count = 364,
414
+ FirstAssignment = 64,
415
+ LastAssignment = 79,
416
+ FirstCompoundAssignment = 65,
417
+ LastCompoundAssignment = 79,
418
+ FirstReservedWord = 83,
419
+ LastReservedWord = 118,
420
+ FirstKeyword = 83,
421
+ LastKeyword = 164,
422
+ FirstFutureReservedWord = 119,
423
+ LastFutureReservedWord = 127,
424
+ FirstTypeNode = 181,
425
+ LastTypeNode = 204,
426
+ FirstPunctuation = 19,
427
+ LastPunctuation = 79,
426
428
  FirstToken = 0,
427
- LastToken = 162,
429
+ LastToken = 164,
428
430
  FirstTriviaToken = 2,
429
431
  LastTriviaToken = 7,
430
- FirstLiteralToken = 8,
431
- LastLiteralToken = 14,
432
- FirstTemplateToken = 14,
433
- LastTemplateToken = 17,
434
- FirstBinaryOperator = 29,
435
- LastBinaryOperator = 78,
436
- FirstStatement = 240,
437
- LastStatement = 256,
438
- FirstNode = 163,
439
- FirstJSDocNode = 312,
440
- LastJSDocNode = 353,
441
- FirstJSDocTagNode = 330,
442
- LastJSDocTagNode = 353
432
+ FirstLiteralToken = 9,
433
+ LastLiteralToken = 15,
434
+ FirstTemplateToken = 15,
435
+ LastTemplateToken = 18,
436
+ FirstBinaryOperator = 30,
437
+ LastBinaryOperator = 79,
438
+ FirstStatement = 242,
439
+ LastStatement = 258,
440
+ FirstNode = 165,
441
+ FirstJSDocNode = 315,
442
+ LastJSDocNode = 356,
443
+ FirstJSDocTagNode = 333,
444
+ LastJSDocTagNode = 356
443
445
  }
444
446
  type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
445
447
  type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
@@ -1347,14 +1349,21 @@ declare namespace ts {
1347
1349
  }
1348
1350
  type JsxOpeningLikeElement = JsxSelfClosingElement | JsxOpeningElement;
1349
1351
  type JsxAttributeLike = JsxAttribute | JsxSpreadAttribute;
1350
- type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess;
1352
+ type JsxAttributeName = Identifier | JsxNamespacedName;
1353
+ type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess | JsxNamespacedName;
1351
1354
  interface JsxTagNamePropertyAccess extends PropertyAccessExpression {
1352
1355
  readonly expression: JsxTagNameExpression;
1353
1356
  }
1354
- interface JsxAttributes extends ObjectLiteralExpressionBase<JsxAttributeLike> {
1357
+ interface JsxAttributes extends PrimaryExpression, Declaration {
1358
+ readonly properties: NodeArray<JsxAttributeLike>;
1355
1359
  readonly kind: SyntaxKind.JsxAttributes;
1356
1360
  readonly parent: JsxOpeningLikeElement;
1357
1361
  }
1362
+ interface JsxNamespacedName extends PrimaryExpression {
1363
+ readonly kind: SyntaxKind.JsxNamespacedName;
1364
+ readonly name: Identifier;
1365
+ readonly namespace: Identifier;
1366
+ }
1358
1367
  interface JsxOpeningElement extends Expression {
1359
1368
  readonly kind: SyntaxKind.JsxOpeningElement;
1360
1369
  readonly parent: JsxElement;
@@ -1382,15 +1391,16 @@ declare namespace ts {
1382
1391
  readonly kind: SyntaxKind.JsxClosingFragment;
1383
1392
  readonly parent: JsxFragment;
1384
1393
  }
1385
- interface JsxAttribute extends ObjectLiteralElement {
1394
+ interface JsxAttribute extends Declaration {
1386
1395
  readonly kind: SyntaxKind.JsxAttribute;
1387
1396
  readonly parent: JsxAttributes;
1388
- readonly name: Identifier;
1397
+ readonly name: JsxAttributeName;
1389
1398
  readonly initializer?: JsxAttributeValue;
1390
1399
  }
1391
1400
  type JsxAttributeValue = StringLiteral | JsxExpression | JsxElement | JsxSelfClosingElement | JsxFragment;
1392
1401
  interface JsxSpreadAttribute extends ObjectLiteralElement {
1393
1402
  readonly kind: SyntaxKind.JsxSpreadAttribute;
1403
+ readonly name: PropertyName;
1394
1404
  readonly parent: JsxAttributes;
1395
1405
  readonly expression: Expression;
1396
1406
  }
@@ -2426,6 +2436,40 @@ declare namespace ts {
2426
2436
  getApparentType(type: Type): Type;
2427
2437
  getBaseConstraintOfType(type: Type): Type | undefined;
2428
2438
  getDefaultFromTypeParameter(type: Type): Type | undefined;
2439
+ /**
2440
+ * Gets the intrinsic `any` type. There are multiple types that act as `any` used internally in the compiler,
2441
+ * so the type returned by this function should not be used in equality checks to determine if another type
2442
+ * is `any`. Instead, use `type.flags & TypeFlags.Any`.
2443
+ */
2444
+ getAnyType(): Type;
2445
+ getStringType(): Type;
2446
+ getStringLiteralType(value: string): StringLiteralType;
2447
+ getNumberType(): Type;
2448
+ getNumberLiteralType(value: number): NumberLiteralType;
2449
+ getBigIntType(): Type;
2450
+ getBooleanType(): Type;
2451
+ getFalseType(): Type;
2452
+ getTrueType(): Type;
2453
+ getVoidType(): Type;
2454
+ /**
2455
+ * Gets the intrinsic `undefined` type. There are multiple types that act as `undefined` used internally in the compiler
2456
+ * depending on compiler options, so the type returned by this function should not be used in equality checks to determine
2457
+ * if another type is `undefined`. Instead, use `type.flags & TypeFlags.Undefined`.
2458
+ */
2459
+ getUndefinedType(): Type;
2460
+ /**
2461
+ * Gets the intrinsic `null` type. There are multiple types that act as `null` used internally in the compiler,
2462
+ * so the type returned by this function should not be used in equality checks to determine if another type
2463
+ * is `null`. Instead, use `type.flags & TypeFlags.Null`.
2464
+ */
2465
+ getNullType(): Type;
2466
+ getESSymbolType(): Type;
2467
+ /**
2468
+ * Gets the intrinsic `never` type. There are multiple types that act as `never` used internally in the compiler,
2469
+ * so the type returned by this function should not be used in equality checks to determine if another type
2470
+ * is `never`. Instead, use `type.flags & TypeFlags.Never`.
2471
+ */
2472
+ getNeverType(): Type;
2429
2473
  /**
2430
2474
  * True if this type is the `Array` or `ReadonlyArray` type from lib.d.ts.
2431
2475
  * This function will _not_ return true if passed a type which
@@ -2661,14 +2705,12 @@ declare namespace ts {
2661
2705
  }) | (void & {
2662
2706
  __escapedIdentifier: void;
2663
2707
  }) | InternalSymbolName;
2664
- /** ReadonlyMap where keys are `__String`s. */
2665
- interface ReadonlyUnderscoreEscapedMap<T> extends ReadonlyMap<__String, T> {
2666
- }
2667
- /** Map where keys are `__String`s. */
2668
- interface UnderscoreEscapedMap<T> extends Map<__String, T> {
2669
- }
2708
+ /** @deprecated Use ReadonlyMap<__String, T> instead. */
2709
+ type ReadonlyUnderscoreEscapedMap<T> = ReadonlyMap<__String, T>;
2710
+ /** @deprecated Use Map<__String, T> instead. */
2711
+ type UnderscoreEscapedMap<T> = Map<__String, T>;
2670
2712
  /** SymbolTable based on ES6 Map interface. */
2671
- type SymbolTable = UnderscoreEscapedMap<Symbol>;
2713
+ type SymbolTable = Map<__String, Symbol>;
2672
2714
  enum TypeFlags {
2673
2715
  Any = 1,
2674
2716
  Unknown = 2,
@@ -3895,14 +3937,16 @@ declare namespace ts {
3895
3937
  createJsxOpeningFragment(): JsxOpeningFragment;
3896
3938
  createJsxJsxClosingFragment(): JsxClosingFragment;
3897
3939
  updateJsxFragment(node: JsxFragment, openingFragment: JsxOpeningFragment, children: readonly JsxChild[], closingFragment: JsxClosingFragment): JsxFragment;
3898
- createJsxAttribute(name: Identifier, initializer: JsxAttributeValue | undefined): JsxAttribute;
3899
- updateJsxAttribute(node: JsxAttribute, name: Identifier, initializer: JsxAttributeValue | undefined): JsxAttribute;
3940
+ createJsxAttribute(name: JsxAttributeName, initializer: JsxAttributeValue | undefined): JsxAttribute;
3941
+ updateJsxAttribute(node: JsxAttribute, name: JsxAttributeName, initializer: JsxAttributeValue | undefined): JsxAttribute;
3900
3942
  createJsxAttributes(properties: readonly JsxAttributeLike[]): JsxAttributes;
3901
3943
  updateJsxAttributes(node: JsxAttributes, properties: readonly JsxAttributeLike[]): JsxAttributes;
3902
3944
  createJsxSpreadAttribute(expression: Expression): JsxSpreadAttribute;
3903
3945
  updateJsxSpreadAttribute(node: JsxSpreadAttribute, expression: Expression): JsxSpreadAttribute;
3904
3946
  createJsxExpression(dotDotDotToken: DotDotDotToken | undefined, expression: Expression | undefined): JsxExpression;
3905
3947
  updateJsxExpression(node: JsxExpression, expression: Expression | undefined): JsxExpression;
3948
+ createJsxNamespacedName(namespace: Identifier, name: Identifier): JsxNamespacedName;
3949
+ updateJsxNamespacedName(node: JsxNamespacedName, namespace: Identifier, name: Identifier): JsxNamespacedName;
3906
3950
  createCaseClause(expression: Expression, statements: readonly Statement[]): CaseClause;
3907
3951
  updateCaseClause(node: CaseClause, expression: Expression, statements: readonly Statement[]): CaseClause;
3908
3952
  createDefaultClause(statements: readonly Statement[]): DefaultClause;
@@ -4184,7 +4228,6 @@ declare namespace ts {
4184
4228
  noEmitHelpers?: boolean;
4185
4229
  }
4186
4230
  interface GetEffectiveTypeRootsHost {
4187
- directoryExists?(directoryName: string): boolean;
4188
4231
  getCurrentDirectory?(): string;
4189
4232
  }
4190
4233
  interface TextSpan {
@@ -4386,11 +4429,17 @@ declare namespace ts {
4386
4429
  function isIdentifierStart(ch: number, languageVersion: ScriptTarget | undefined): boolean;
4387
4430
  function isIdentifierPart(ch: number, languageVersion: ScriptTarget | undefined, identifierVariant?: LanguageVariant): boolean;
4388
4431
  function createScanner(languageVersion: ScriptTarget, skipTrivia: boolean, languageVariant?: LanguageVariant, textInitial?: string, onError?: ErrorCallback, start?: number, length?: number): Scanner;
4389
- type ErrorCallback = (message: DiagnosticMessage, length: number) => void;
4432
+ type ErrorCallback = (message: DiagnosticMessage, length: number, arg0?: any) => void;
4390
4433
  interface Scanner {
4434
+ /** @deprecated use {@link getTokenFullStart} */
4391
4435
  getStartPos(): number;
4392
4436
  getToken(): SyntaxKind;
4437
+ getTokenFullStart(): number;
4438
+ getTokenStart(): number;
4439
+ getTokenEnd(): number;
4440
+ /** @deprecated use {@link getTokenEnd} */
4393
4441
  getTextPos(): number;
4442
+ /** @deprecated use {@link getTokenStart} */
4394
4443
  getTokenPos(): number;
4395
4444
  getTokenText(): string;
4396
4445
  getTokenValue(): string;
@@ -4404,6 +4453,7 @@ declare namespace ts {
4404
4453
  reScanSlashToken(): SyntaxKind;
4405
4454
  reScanAsteriskEqualsToken(): SyntaxKind;
4406
4455
  reScanTemplateToken(isTaggedTemplate: boolean): SyntaxKind;
4456
+ /** @deprecated use {@link reScanTemplateToken}(false) */
4407
4457
  reScanTemplateHeadOrNoSubstitutionTemplate(): SyntaxKind;
4408
4458
  scanJsxIdentifier(): SyntaxKind;
4409
4459
  scanJsxAttributeValue(): SyntaxKind;
@@ -4421,7 +4471,9 @@ declare namespace ts {
4421
4471
  setOnError(onError: ErrorCallback | undefined): void;
4422
4472
  setScriptTarget(scriptTarget: ScriptTarget): void;
4423
4473
  setLanguageVariant(variant: LanguageVariant): void;
4474
+ /** @deprecated use {@link resetTokenState} */
4424
4475
  setTextPos(textPos: number): void;
4476
+ resetTokenState(pos: number): void;
4425
4477
  lookAhead<T>(callback: () => T): T;
4426
4478
  scanRange<T>(start: number, length: number, callback: () => T): T;
4427
4479
  tryScan<T>(callback: () => T): T;
@@ -4965,6 +5017,7 @@ declare namespace ts {
4965
5017
  function isJsxAttributes(node: Node): node is JsxAttributes;
4966
5018
  function isJsxSpreadAttribute(node: Node): node is JsxSpreadAttribute;
4967
5019
  function isJsxExpression(node: Node): node is JsxExpression;
5020
+ function isJsxNamespacedName(node: Node): node is JsxNamespacedName;
4968
5021
  function isCaseClause(node: Node): node is CaseClause;
4969
5022
  function isDefaultClause(node: Node): node is DefaultClause;
4970
5023
  function isHeritageClause(node: Node): node is HeritageClause;
@@ -5358,7 +5411,7 @@ declare namespace ts {
5358
5411
  * Calculates the resulting resolution mode for some reference in some file - this is generally the explicitly
5359
5412
  * provided resolution mode in the reference, unless one is not present, in which case it is the mode of the containing file.
5360
5413
  */
5361
- function getModeForFileReference(ref: FileReference | string, containingFileMode: ResolutionMode): ts.ResolutionMode;
5414
+ function getModeForFileReference(ref: FileReference | string, containingFileMode: ResolutionMode): ResolutionMode;
5362
5415
  /**
5363
5416
  * Calculates the final resolution mode for an import at some index within a file's imports list. This is generally the explicitly
5364
5417
  * defined mode of the import if provided, or, if not, the mode of the containing file (with some exceptions: import=require is always commonjs, dynamic import is always esm).
@@ -5378,7 +5431,7 @@ declare namespace ts {
5378
5431
  */
5379
5432
  function getModeForUsageLocation(file: {
5380
5433
  impliedNodeFormat?: ResolutionMode;
5381
- }, usage: StringLiteralLike): ts.ModuleKind.CommonJS | ts.ModuleKind.ESNext | undefined;
5434
+ }, usage: StringLiteralLike): ModuleKind.CommonJS | ModuleKind.ESNext | undefined;
5382
5435
  function getConfigFileParsingDiagnostics(configFileParseResult: ParsedCommandLine): readonly Diagnostic[];
5383
5436
  /**
5384
5437
  * A function for determining if a given file is esm or cjs format, assuming modern node module resolution rules, as configured by the
@@ -5559,8 +5612,8 @@ declare namespace ts {
5559
5612
  */
5560
5613
  emitNextAffectedFile(writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): AffectedFileResult<EmitResult>;
5561
5614
  }
5562
- function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost): ts.EmitAndSemanticDiagnosticsBuilderProgram | undefined;
5563
- function createIncrementalCompilerHost(options: CompilerOptions, system?: ts.System): CompilerHost;
5615
+ function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram | undefined;
5616
+ function createIncrementalCompilerHost(options: CompilerOptions, system?: System): CompilerHost;
5564
5617
  function createIncrementalProgram<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>({ rootNames, options, configFileParsingDiagnostics, projectReferences, host, createProgram }: IncrementalProgramOptions<T>): T;
5565
5618
  /**
5566
5619
  * Create the watch compiler host for either configFile or fileNames and its options
@@ -5716,8 +5769,8 @@ declare namespace ts {
5716
5769
  * Create a function that reports watch status by writing to the system and handles the formating of the diagnostic
5717
5770
  */
5718
5771
  function createBuilderStatusReporter(system: System, pretty?: boolean): DiagnosticReporter;
5719
- function createSolutionBuilderHost<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>(system?: ts.System, createProgram?: CreateProgram<T>, reportDiagnostic?: DiagnosticReporter, reportSolutionBuilderStatus?: DiagnosticReporter, reportErrorSummary?: ReportEmitErrorSummary): ts.SolutionBuilderHost<T>;
5720
- function createSolutionBuilderWithWatchHost<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>(system?: ts.System, createProgram?: CreateProgram<T>, reportDiagnostic?: DiagnosticReporter, reportSolutionBuilderStatus?: DiagnosticReporter, reportWatchStatus?: WatchStatusReporter): ts.SolutionBuilderWithWatchHost<T>;
5772
+ function createSolutionBuilderHost<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>(system?: System, createProgram?: CreateProgram<T>, reportDiagnostic?: DiagnosticReporter, reportSolutionBuilderStatus?: DiagnosticReporter, reportErrorSummary?: ReportEmitErrorSummary): SolutionBuilderHost<T>;
5773
+ function createSolutionBuilderWithWatchHost<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>(system?: System, createProgram?: CreateProgram<T>, reportDiagnostic?: DiagnosticReporter, reportSolutionBuilderStatus?: DiagnosticReporter, reportWatchStatus?: WatchStatusReporter): SolutionBuilderWithWatchHost<T>;
5721
5774
  function createSolutionBuilder<T extends BuilderProgram>(host: SolutionBuilderHost<T>, rootNames: readonly string[], defaultOptions: BuildOptions): SolutionBuilder<T>;
5722
5775
  function createSolutionBuilderWithWatch<T extends BuilderProgram>(host: SolutionBuilderWithWatchHost<T>, rootNames: readonly string[], defaultOptions: BuildOptions, baseWatchOptions?: WatchOptions): SolutionBuilder<T>;
5723
5776
  interface BuildOptions {
@@ -5807,6 +5860,14 @@ declare namespace ts {
5807
5860
  emit(writeFile?: WriteFileCallback, customTransformers?: CustomTransformers): EmitResult | BuildInvalidedProject<T> | undefined;
5808
5861
  }
5809
5862
  type InvalidatedProject<T extends BuilderProgram> = UpdateOutputFileStampsProject | BuildInvalidedProject<T> | UpdateBundleProject<T>;
5863
+ namespace JsTyping {
5864
+ interface TypingResolutionHost {
5865
+ directoryExists(path: string): boolean;
5866
+ fileExists(fileName: string): boolean;
5867
+ readFile(path: string, encoding?: string): string | undefined;
5868
+ readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[] | undefined, depth?: number): string[];
5869
+ }
5870
+ }
5810
5871
  namespace server {
5811
5872
  type ActionSet = "action::set";
5812
5873
  type ActionInvalidate = "action::invalidate";
@@ -5872,6 +5933,14 @@ declare namespace ts {
5872
5933
  readonly kind: EventEndInstallTypes;
5873
5934
  readonly installSuccess: boolean;
5874
5935
  }
5936
+ interface InstallTypingHost extends JsTyping.TypingResolutionHost {
5937
+ useCaseSensitiveFileNames: boolean;
5938
+ writeFile(path: string, content: string): void;
5939
+ createDirectory(path: string): void;
5940
+ getCurrentDirectory?(): string;
5941
+ watchFile?(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOptions): FileWatcher;
5942
+ watchDirectory?(path: string, callback: DirectoryWatcherCallback, recursive?: boolean, options?: WatchOptions): FileWatcher;
5943
+ }
5875
5944
  interface SetTypings extends ProjectResponse {
5876
5945
  readonly typeAcquisition: TypeAcquisition;
5877
5946
  readonly compilerOptions: CompilerOptions;
@@ -6094,8 +6163,6 @@ declare namespace ts {
6094
6163
  findReferences(fileName: string, position: number): ReferencedSymbol[] | undefined;
6095
6164
  getDocumentHighlights(fileName: string, position: number, filesToSearch: string[]): DocumentHighlights[] | undefined;
6096
6165
  getFileReferences(fileName: string): ReferenceEntry[];
6097
- /** @deprecated */
6098
- getOccurrencesAtPosition(fileName: string, position: number): readonly ReferenceEntry[] | undefined;
6099
6166
  getNavigateToItems(searchValue: string, maxResultCount?: number, fileName?: string, excludeDtsFiles?: boolean): NavigateToItem[];
6100
6167
  getNavigationBarItems(fileName: string): NavigationBarItem[];
6101
6168
  getNavigationTree(fileName: string): NavigationTree;
@@ -6117,6 +6184,7 @@ declare namespace ts {
6117
6184
  * Editors should call this after `>` is typed.
6118
6185
  */
6119
6186
  getJsxClosingTagAtPosition(fileName: string, position: number): JsxClosingTagInfo | undefined;
6187
+ getLinkedEditingRangeAtPosition(fileName: string, position: number): LinkedEditingInfo | undefined;
6120
6188
  getSpanOfEnclosingComment(fileName: string, position: number, onlyMultiLine: boolean): TextSpan | undefined;
6121
6189
  toLineColumnOffset?(fileName: string, position: number): LineAndCharacter;
6122
6190
  getCodeFixesAtPosition(fileName: string, start: number, end: number, errorCodes: readonly number[], formatOptions: FormatCodeSettings, preferences: UserPreferences): readonly CodeFixAction[];
@@ -6146,6 +6214,10 @@ declare namespace ts {
6146
6214
  interface JsxClosingTagInfo {
6147
6215
  readonly newText: string;
6148
6216
  }
6217
+ interface LinkedEditingInfo {
6218
+ readonly ranges: TextSpan[];
6219
+ wordPattern?: string;
6220
+ }
6149
6221
  interface CombinedCodeFixScope {
6150
6222
  type: "file";
6151
6223
  fileName: string;
@@ -6534,6 +6606,7 @@ declare namespace ts {
6534
6606
  readonly insertSpaceBeforeTypeAnnotation?: boolean;
6535
6607
  readonly indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
6536
6608
  readonly semicolons?: SemicolonPreference;
6609
+ readonly indentSwitchCase?: boolean;
6537
6610
  }
6538
6611
  interface DefinitionInfo extends DocumentSpan {
6539
6612
  kind: ScriptElementKind;