@vue/compiler-sfc 3.6.0-rc.2 → 3.6.0-rc.3

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.
@@ -412,7 +412,7 @@ export declare class ScriptCompileContext {
412
412
  error(msg: string, node: Node$1, scope?: TypeScope): never;
413
413
  }
414
414
  //#endregion
415
- //#region node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/typescript.d.ts
415
+ //#region node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/typescript.d.ts
416
416
  /*! *****************************************************************************
417
417
  Copyright (c) Microsoft Corporation. All rights reserved.
418
418
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
@@ -422,7 +422,7 @@ License at http://www.apache.org/licenses/LICENSE-2.0
422
422
  THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
423
423
  KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
424
424
  WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
425
- MERCHANTABLITY OR NON-INFRINGEMENT.
425
+ MERCHANTABILITY OR NON-INFRINGEMENT.
426
426
 
427
427
  See the Apache Version 2.0 License for specific language governing permissions
428
428
  and limitations under the License.
@@ -512,6 +512,7 @@ declare namespace ts {
512
512
  GetApplicableRefactors = "getApplicableRefactors",
513
513
  GetEditsForRefactor = "getEditsForRefactor",
514
514
  GetMoveToRefactoringFileSuggestions = "getMoveToRefactoringFileSuggestions",
515
+ PreparePasteEdits = "preparePasteEdits",
515
516
  GetPasteEdits = "getPasteEdits",
516
517
  OrganizeImports = "organizeImports",
517
518
  GetEditsForFileRename = "getEditsForFileRename",
@@ -766,6 +767,10 @@ declare namespace ts {
766
767
  * Indicate if the file name list of the project is needed
767
768
  */
768
769
  needFileNameList: boolean;
770
+ /**
771
+ * if true returns details about default configured project calculation
772
+ */
773
+ needDefaultConfiguredProjectInfo?: boolean;
769
774
  }
770
775
  /**
771
776
  * A request to get the project information of the current file.
@@ -789,6 +794,17 @@ declare namespace ts {
789
794
  */
790
795
  projectFileName: string;
791
796
  }
797
+ /**
798
+ * Details about the default project for the file if tsconfig file is found
799
+ */
800
+ export interface DefaultConfiguredProjectInfo {
801
+ /** List of config files looked and did not match because file was not part of root file names */
802
+ notMatchedByConfig?: readonly string[];
803
+ /** List of projects which were loaded but file was not part of the project or is file from referenced project */
804
+ notInProject?: readonly string[];
805
+ /** Configured project used as default */
806
+ defaultProject?: string;
807
+ }
792
808
  /**
793
809
  * Response message body for "projectInfo" request
794
810
  */
@@ -806,6 +822,10 @@ declare namespace ts {
806
822
  * Indicates if the project has a active language service instance
807
823
  */
808
824
  languageServiceDisabled?: boolean;
825
+ /**
826
+ * Information about default project
827
+ */
828
+ configuredProjectInfo?: DefaultConfiguredProjectInfo;
809
829
  }
810
830
  /**
811
831
  * Represents diagnostic info that includes location of diagnostic in two forms
@@ -898,6 +918,19 @@ declare namespace ts {
898
918
  files: string[];
899
919
  };
900
920
  }
921
+ /**
922
+ * Request to check if `pasteEdits` should be provided for a given location post copying text from that location.
923
+ */
924
+ export interface PreparePasteEditsRequest extends FileRequest {
925
+ command: CommandTypes.PreparePasteEdits;
926
+ arguments: PreparePasteEditsRequestArgs;
927
+ }
928
+ export interface PreparePasteEditsRequestArgs extends FileRequestArgs {
929
+ copiedTextSpan: TextSpan[];
930
+ }
931
+ export interface PreparePasteEditsResponse extends Response {
932
+ body: boolean;
933
+ }
901
934
  /**
902
935
  * Request refactorings at a given position post pasting text from some other location.
903
936
  */
@@ -1846,6 +1879,13 @@ declare namespace ts {
1846
1879
  command: CommandTypes.Quickinfo;
1847
1880
  arguments: FileLocationRequestArgs;
1848
1881
  }
1882
+ export interface QuickInfoRequestArgs extends FileLocationRequestArgs {
1883
+ /**
1884
+ * This controls how many levels of definitions will be expanded in the quick info response.
1885
+ * The default value is 0.
1886
+ */
1887
+ verbosityLevel?: number;
1888
+ }
1849
1889
  /**
1850
1890
  * Body of QuickInfoResponse.
1851
1891
  */
@@ -1879,6 +1919,10 @@ declare namespace ts {
1879
1919
  * JSDoc tags associated with symbol.
1880
1920
  */
1881
1921
  tags: JSDocTagInfo[];
1922
+ /**
1923
+ * Whether the verbosity level can be increased for this quick info response.
1924
+ */
1925
+ canIncreaseVerbosityLevel?: boolean;
1882
1926
  }
1883
1927
  /**
1884
1928
  * Quickinfo response message.
@@ -2866,6 +2910,8 @@ declare namespace ts {
2866
2910
  ES2022 = "es2022",
2867
2911
  ESNext = "esnext",
2868
2912
  Node16 = "node16",
2913
+ Node18 = "node18",
2914
+ Node20 = "node20",
2869
2915
  NodeNext = "nodenext",
2870
2916
  Preserve = "preserve"
2871
2917
  }
@@ -2875,6 +2921,7 @@ declare namespace ts {
2875
2921
  Node = "node",
2876
2922
  /** @deprecated Renamed to `Node10` */
2877
2923
  NodeJs = "node",
2924
+ /** @deprecated */
2878
2925
  Node10 = "node10",
2879
2926
  Node16 = "node16",
2880
2927
  NodeNext = "nodenext",
@@ -2887,6 +2934,7 @@ declare namespace ts {
2887
2934
  export enum ScriptTarget {
2888
2935
  /** @deprecated */
2889
2936
  ES3 = "es3",
2937
+ /** @deprecated */
2890
2938
  ES5 = "es5",
2891
2939
  ES6 = "es6",
2892
2940
  ES2015 = "es2015",
@@ -2898,9 +2946,12 @@ declare namespace ts {
2898
2946
  ES2021 = "es2021",
2899
2947
  ES2022 = "es2022",
2900
2948
  ES2023 = "es2023",
2949
+ ES2024 = "es2024",
2950
+ ES2025 = "es2025",
2901
2951
  ESNext = "esnext",
2902
2952
  JSON = "json",
2903
- Latest = "esnext"
2953
+ Latest = "esnext",
2954
+ LatestStandard = "es2025"
2904
2955
  }
2905
2956
  }
2906
2957
  namespace typingsInstaller {
@@ -3199,7 +3250,6 @@ declare namespace ts {
3199
3250
  abstract class Project implements LanguageServiceHost, ModuleResolutionHost {
3200
3251
  readonly projectKind: ProjectKind;
3201
3252
  readonly projectService: ProjectService;
3202
- private documentRegistry;
3203
3253
  private compilerOptions;
3204
3254
  compileOnSaveEnabled: boolean;
3205
3255
  protected watchOptions: WatchOptions | undefined;
@@ -3219,7 +3269,6 @@ declare namespace ts {
3219
3269
  private lastReportedFileNames;
3220
3270
  private lastReportedVersion;
3221
3271
  protected projectErrors: Diagnostic[] | undefined;
3222
- protected isInitialLoadPending: () => boolean;
3223
3272
  private typingsCache;
3224
3273
  private typingWatchers;
3225
3274
  private readonly cancellationToken;
@@ -3233,14 +3282,14 @@ declare namespace ts {
3233
3282
  readonly jsDocParsingMode: JSDocParsingMode | undefined;
3234
3283
  isKnownTypesPackageName(name: string): boolean;
3235
3284
  installPackage(options: InstallPackageOptions): Promise<ApplyCodeActionCommandResult>;
3236
- getCompilationSettings(): ts.CompilerOptions;
3237
- getCompilerOptions(): ts.CompilerOptions;
3285
+ getCompilationSettings(): CompilerOptions;
3286
+ getCompilerOptions(): CompilerOptions;
3238
3287
  getNewLine(): string;
3239
3288
  getProjectVersion(): string;
3240
3289
  getProjectReferences(): readonly ProjectReference[] | undefined;
3241
3290
  getScriptFileNames(): string[];
3242
3291
  private getOrCreateScriptInfoAndAttachToProject;
3243
- getScriptKind(fileName: string): ts.ScriptKind;
3292
+ getScriptKind(fileName: string): ScriptKind;
3244
3293
  getScriptVersion(filename: string): string;
3245
3294
  getScriptSnapshot(filename: string): IScriptSnapshot | undefined;
3246
3295
  getCancellationToken(): HostCancellationToken;
@@ -3276,16 +3325,16 @@ declare namespace ts {
3276
3325
  getProjectName(): string;
3277
3326
  protected removeLocalTypingsFromTypeAcquisition(newTypeAcquisition: TypeAcquisition): TypeAcquisition;
3278
3327
  getExternalFiles(updateLevel?: ProgramUpdateLevel): SortedReadonlyArray<string>;
3279
- getSourceFile(path: Path): ts.SourceFile | undefined;
3328
+ getSourceFile(path: Path): SourceFile | undefined;
3280
3329
  close(): void;
3281
3330
  private detachScriptInfoIfNotRoot;
3282
3331
  isClosed(): boolean;
3283
3332
  hasRoots(): boolean;
3284
3333
  getRootFiles(): NormalizedPath[];
3285
- getRootScriptInfos(): ts.server.ScriptInfo[];
3334
+ getRootScriptInfos(): ScriptInfo[];
3286
3335
  getScriptInfos(): ScriptInfo[];
3287
3336
  getExcludedFiles(): readonly NormalizedPath[];
3288
- getFileNames(excludeFilesFromExternalLibraries?: boolean, excludeConfigFiles?: boolean): ts.server.NormalizedPath[];
3337
+ getFileNames(excludeFilesFromExternalLibraries?: boolean, excludeConfigFiles?: boolean): NormalizedPath[];
3289
3338
  hasConfigFile(configFilePath: NormalizedPath): boolean;
3290
3339
  containsScriptInfo(info: ScriptInfo): boolean;
3291
3340
  containsFile(filename: NormalizedPath, requireOpen?: boolean): boolean;
@@ -3310,19 +3359,18 @@ declare namespace ts {
3310
3359
  private isValidGeneratedFileWatcher;
3311
3360
  private clearGeneratedFileWatch;
3312
3361
  getScriptInfoForNormalizedPath(fileName: NormalizedPath): ScriptInfo | undefined;
3313
- getScriptInfo(uncheckedFileName: string): ts.server.ScriptInfo | undefined;
3362
+ getScriptInfo(uncheckedFileName: string): ScriptInfo | undefined;
3314
3363
  filesToString(writeProjectFileNames: boolean): string;
3315
3364
  private filesToStringWorker;
3316
3365
  setCompilerOptions(compilerOptions: CompilerOptions): void;
3317
3366
  setTypeAcquisition(newTypeAcquisition: TypeAcquisition | undefined): void;
3318
- getTypeAcquisition(): ts.TypeAcquisition;
3367
+ getTypeAcquisition(): TypeAcquisition;
3319
3368
  protected removeRoot(info: ScriptInfo): void;
3320
3369
  protected enableGlobalPlugins(options: CompilerOptions): void;
3321
3370
  protected enablePlugin(pluginConfigEntry: PluginImport, searchPaths: string[]): void;
3322
3371
  /** Starts a new check for diagnostics. Call this if some file has updated that would cause diagnostics to be changed. */
3323
3372
  refreshDiagnostics(): void;
3324
3373
  private isDefaultProjectForOpenFiles;
3325
- private getCompilerOptionsForNoDtsResolutionProject;
3326
3374
  }
3327
3375
  /**
3328
3376
  * If a file is opened and no tsconfig (or jsconfig) is found,
@@ -3349,7 +3397,7 @@ declare namespace ts {
3349
3397
  getScriptFileNames(): string[];
3350
3398
  getLanguageService(): never;
3351
3399
  getHostForAutoImportProvider(): never;
3352
- getProjectReferences(): readonly ts.ProjectReference[] | undefined;
3400
+ getProjectReferences(): readonly ProjectReference[] | undefined;
3353
3401
  }
3354
3402
  /**
3355
3403
  * If a file is opened, the server will look for a tsconfig (or jsconfig)
@@ -3366,7 +3414,7 @@ declare namespace ts {
3366
3414
  * @returns: true if set of files in the project stays the same and false - otherwise.
3367
3415
  */
3368
3416
  updateGraph(): boolean;
3369
- getConfigFilePath(): ts.server.NormalizedPath;
3417
+ getConfigFilePath(): NormalizedPath;
3370
3418
  getProjectReferences(): readonly ProjectReference[] | undefined;
3371
3419
  updateReferences(refs: readonly ProjectReference[] | undefined): void;
3372
3420
  /**
@@ -3390,14 +3438,14 @@ declare namespace ts {
3390
3438
  compileOnSaveEnabled: boolean;
3391
3439
  excludedFiles: readonly NormalizedPath[];
3392
3440
  updateGraph(): boolean;
3393
- getExcludedFiles(): readonly ts.server.NormalizedPath[];
3441
+ getExcludedFiles(): readonly NormalizedPath[];
3394
3442
  }
3395
3443
  function convertFormatOptions(protocolOptions: protocol.FormatCodeSettings): FormatCodeSettings;
3396
3444
  function convertCompilerOptions(protocolOptions: protocol.ExternalProjectCompilerOptions): CompilerOptions & protocol.CompileOnSaveMixin;
3397
3445
  function convertWatchOptions(protocolOptions: protocol.ExternalProjectCompilerOptions, currentDirectory?: string): WatchOptionsAndErrors | undefined;
3398
3446
  function convertTypeAcquisition(protocolOptions: protocol.InferredProjectCompilerOptions): TypeAcquisition | undefined;
3399
3447
  function tryConvertScriptKindName(scriptKindName: protocol.ScriptKindName | ScriptKind): ScriptKind;
3400
- function convertScriptKindName(scriptKindName: protocol.ScriptKindName): ScriptKind.Unknown | ScriptKind.JS | ScriptKind.JSX | ScriptKind.TS | ScriptKind.TSX;
3448
+ function convertScriptKindName(scriptKindName: protocol.ScriptKindName): ScriptKind;
3401
3449
  const maxProgramSizeForNonTsFiles: number;
3402
3450
  const ProjectsUpdatedInBackgroundEvent = "projectsUpdatedInBackground";
3403
3451
  interface ProjectsUpdatedInBackgroundEvent {
@@ -3668,6 +3716,7 @@ declare namespace ts {
3668
3716
  private deleteScriptInfo;
3669
3717
  private configFileExists;
3670
3718
  private createConfigFileWatcherForParsedConfig;
3719
+ private ensureConfigFileWatcherForProject;
3671
3720
  private forEachConfigFileLocation;
3672
3721
  private getConfigFileNameForFileFromCache;
3673
3722
  private setConfigFileNameForFileInCache;
@@ -3681,6 +3730,7 @@ declare namespace ts {
3681
3730
  private updateNonInferredProjectFiles;
3682
3731
  private updateRootAndOptionsOfNonInferredProject;
3683
3732
  private reloadFileNamesOfParsedConfig;
3733
+ private setProjectForReload;
3684
3734
  private clearSemanticCache;
3685
3735
  private getOrCreateInferredProjectForProjectRootPathIfEnabled;
3686
3736
  private getOrCreateSingleInferredProjectIfEnabled;
@@ -3727,6 +3777,8 @@ declare namespace ts {
3727
3777
  private getOrCreateOpenScriptInfo;
3728
3778
  private assignProjectToOpenedScriptInfo;
3729
3779
  private tryFindDefaultConfiguredProjectForOpenScriptInfo;
3780
+ private isMatchedByConfig;
3781
+ private tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo;
3730
3782
  private tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo;
3731
3783
  private ensureProjectChildren;
3732
3784
  private cleanupConfiguredProjects;
@@ -3865,9 +3917,11 @@ declare namespace ts {
3865
3917
  private getDocumentHighlights;
3866
3918
  private provideInlayHints;
3867
3919
  private mapCode;
3920
+ private getCopilotRelatedInfo;
3868
3921
  private setCompilerOptionsForInferredProjects;
3869
3922
  private getProjectInfo;
3870
3923
  private getProjectInfoWorker;
3924
+ private getDefaultConfiguredProjectInfo;
3871
3925
  private getRenameInfo;
3872
3926
  private getProjects;
3873
3927
  private getDefaultProject;
@@ -3920,6 +3974,7 @@ declare namespace ts {
3920
3974
  private getApplicableRefactors;
3921
3975
  private getEditsForRefactor;
3922
3976
  private getMoveToRefactoringFileSuggestions;
3977
+ private preparePasteEdits;
3923
3978
  private getPasteEdits;
3924
3979
  private organizeImports;
3925
3980
  private getEditsForFileRename;
@@ -3980,7 +4035,7 @@ declare namespace ts {
3980
4035
  readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[] | undefined, depth?: number): string[];
3981
4036
  }
3982
4037
  }
3983
- const versionMajorMinor = "5.6";
4038
+ const versionMajorMinor = "6.0";
3984
4039
  /** The version of the TypeScript compiler release */
3985
4040
  const version: string;
3986
4041
  /**
@@ -4176,205 +4231,207 @@ declare namespace ts {
4176
4231
  BigIntKeyword = 163,
4177
4232
  OverrideKeyword = 164,
4178
4233
  OfKeyword = 165,
4179
- QualifiedName = 166,
4180
- ComputedPropertyName = 167,
4181
- TypeParameter = 168,
4182
- Parameter = 169,
4183
- Decorator = 170,
4184
- PropertySignature = 171,
4185
- PropertyDeclaration = 172,
4186
- MethodSignature = 173,
4187
- MethodDeclaration = 174,
4188
- ClassStaticBlockDeclaration = 175,
4189
- Constructor = 176,
4190
- GetAccessor = 177,
4191
- SetAccessor = 178,
4192
- CallSignature = 179,
4193
- ConstructSignature = 180,
4194
- IndexSignature = 181,
4195
- TypePredicate = 182,
4196
- TypeReference = 183,
4197
- FunctionType = 184,
4198
- ConstructorType = 185,
4199
- TypeQuery = 186,
4200
- TypeLiteral = 187,
4201
- ArrayType = 188,
4202
- TupleType = 189,
4203
- OptionalType = 190,
4204
- RestType = 191,
4205
- UnionType = 192,
4206
- IntersectionType = 193,
4207
- ConditionalType = 194,
4208
- InferType = 195,
4209
- ParenthesizedType = 196,
4210
- ThisType = 197,
4211
- TypeOperator = 198,
4212
- IndexedAccessType = 199,
4213
- MappedType = 200,
4214
- LiteralType = 201,
4215
- NamedTupleMember = 202,
4216
- TemplateLiteralType = 203,
4217
- TemplateLiteralTypeSpan = 204,
4218
- ImportType = 205,
4219
- ObjectBindingPattern = 206,
4220
- ArrayBindingPattern = 207,
4221
- BindingElement = 208,
4222
- ArrayLiteralExpression = 209,
4223
- ObjectLiteralExpression = 210,
4224
- PropertyAccessExpression = 211,
4225
- ElementAccessExpression = 212,
4226
- CallExpression = 213,
4227
- NewExpression = 214,
4228
- TaggedTemplateExpression = 215,
4229
- TypeAssertionExpression = 216,
4230
- ParenthesizedExpression = 217,
4231
- FunctionExpression = 218,
4232
- ArrowFunction = 219,
4233
- DeleteExpression = 220,
4234
- TypeOfExpression = 221,
4235
- VoidExpression = 222,
4236
- AwaitExpression = 223,
4237
- PrefixUnaryExpression = 224,
4238
- PostfixUnaryExpression = 225,
4239
- BinaryExpression = 226,
4240
- ConditionalExpression = 227,
4241
- TemplateExpression = 228,
4242
- YieldExpression = 229,
4243
- SpreadElement = 230,
4244
- ClassExpression = 231,
4245
- OmittedExpression = 232,
4246
- ExpressionWithTypeArguments = 233,
4247
- AsExpression = 234,
4248
- NonNullExpression = 235,
4249
- MetaProperty = 236,
4250
- SyntheticExpression = 237,
4251
- SatisfiesExpression = 238,
4252
- TemplateSpan = 239,
4253
- SemicolonClassElement = 240,
4254
- Block = 241,
4255
- EmptyStatement = 242,
4256
- VariableStatement = 243,
4257
- ExpressionStatement = 244,
4258
- IfStatement = 245,
4259
- DoStatement = 246,
4260
- WhileStatement = 247,
4261
- ForStatement = 248,
4262
- ForInStatement = 249,
4263
- ForOfStatement = 250,
4264
- ContinueStatement = 251,
4265
- BreakStatement = 252,
4266
- ReturnStatement = 253,
4267
- WithStatement = 254,
4268
- SwitchStatement = 255,
4269
- LabeledStatement = 256,
4270
- ThrowStatement = 257,
4271
- TryStatement = 258,
4272
- DebuggerStatement = 259,
4273
- VariableDeclaration = 260,
4274
- VariableDeclarationList = 261,
4275
- FunctionDeclaration = 262,
4276
- ClassDeclaration = 263,
4277
- InterfaceDeclaration = 264,
4278
- TypeAliasDeclaration = 265,
4279
- EnumDeclaration = 266,
4280
- ModuleDeclaration = 267,
4281
- ModuleBlock = 268,
4282
- CaseBlock = 269,
4283
- NamespaceExportDeclaration = 270,
4284
- ImportEqualsDeclaration = 271,
4285
- ImportDeclaration = 272,
4286
- ImportClause = 273,
4287
- NamespaceImport = 274,
4288
- NamedImports = 275,
4289
- ImportSpecifier = 276,
4290
- ExportAssignment = 277,
4291
- ExportDeclaration = 278,
4292
- NamedExports = 279,
4293
- NamespaceExport = 280,
4294
- ExportSpecifier = 281,
4295
- MissingDeclaration = 282,
4296
- ExternalModuleReference = 283,
4297
- JsxElement = 284,
4298
- JsxSelfClosingElement = 285,
4299
- JsxOpeningElement = 286,
4300
- JsxClosingElement = 287,
4301
- JsxFragment = 288,
4302
- JsxOpeningFragment = 289,
4303
- JsxClosingFragment = 290,
4304
- JsxAttribute = 291,
4305
- JsxAttributes = 292,
4306
- JsxSpreadAttribute = 293,
4307
- JsxExpression = 294,
4308
- JsxNamespacedName = 295,
4309
- CaseClause = 296,
4310
- DefaultClause = 297,
4311
- HeritageClause = 298,
4312
- CatchClause = 299,
4313
- ImportAttributes = 300,
4314
- ImportAttribute = 301,
4234
+ DeferKeyword = 166,
4235
+ QualifiedName = 167,
4236
+ ComputedPropertyName = 168,
4237
+ TypeParameter = 169,
4238
+ Parameter = 170,
4239
+ Decorator = 171,
4240
+ PropertySignature = 172,
4241
+ PropertyDeclaration = 173,
4242
+ MethodSignature = 174,
4243
+ MethodDeclaration = 175,
4244
+ ClassStaticBlockDeclaration = 176,
4245
+ Constructor = 177,
4246
+ GetAccessor = 178,
4247
+ SetAccessor = 179,
4248
+ CallSignature = 180,
4249
+ ConstructSignature = 181,
4250
+ IndexSignature = 182,
4251
+ TypePredicate = 183,
4252
+ TypeReference = 184,
4253
+ FunctionType = 185,
4254
+ ConstructorType = 186,
4255
+ TypeQuery = 187,
4256
+ TypeLiteral = 188,
4257
+ ArrayType = 189,
4258
+ TupleType = 190,
4259
+ OptionalType = 191,
4260
+ RestType = 192,
4261
+ UnionType = 193,
4262
+ IntersectionType = 194,
4263
+ ConditionalType = 195,
4264
+ InferType = 196,
4265
+ ParenthesizedType = 197,
4266
+ ThisType = 198,
4267
+ TypeOperator = 199,
4268
+ IndexedAccessType = 200,
4269
+ MappedType = 201,
4270
+ LiteralType = 202,
4271
+ NamedTupleMember = 203,
4272
+ TemplateLiteralType = 204,
4273
+ TemplateLiteralTypeSpan = 205,
4274
+ ImportType = 206,
4275
+ ObjectBindingPattern = 207,
4276
+ ArrayBindingPattern = 208,
4277
+ BindingElement = 209,
4278
+ ArrayLiteralExpression = 210,
4279
+ ObjectLiteralExpression = 211,
4280
+ PropertyAccessExpression = 212,
4281
+ ElementAccessExpression = 213,
4282
+ CallExpression = 214,
4283
+ NewExpression = 215,
4284
+ TaggedTemplateExpression = 216,
4285
+ TypeAssertionExpression = 217,
4286
+ ParenthesizedExpression = 218,
4287
+ FunctionExpression = 219,
4288
+ ArrowFunction = 220,
4289
+ DeleteExpression = 221,
4290
+ TypeOfExpression = 222,
4291
+ VoidExpression = 223,
4292
+ AwaitExpression = 224,
4293
+ PrefixUnaryExpression = 225,
4294
+ PostfixUnaryExpression = 226,
4295
+ BinaryExpression = 227,
4296
+ ConditionalExpression = 228,
4297
+ TemplateExpression = 229,
4298
+ YieldExpression = 230,
4299
+ SpreadElement = 231,
4300
+ ClassExpression = 232,
4301
+ OmittedExpression = 233,
4302
+ ExpressionWithTypeArguments = 234,
4303
+ AsExpression = 235,
4304
+ NonNullExpression = 236,
4305
+ MetaProperty = 237,
4306
+ SyntheticExpression = 238,
4307
+ SatisfiesExpression = 239,
4308
+ TemplateSpan = 240,
4309
+ SemicolonClassElement = 241,
4310
+ Block = 242,
4311
+ EmptyStatement = 243,
4312
+ VariableStatement = 244,
4313
+ ExpressionStatement = 245,
4314
+ IfStatement = 246,
4315
+ DoStatement = 247,
4316
+ WhileStatement = 248,
4317
+ ForStatement = 249,
4318
+ ForInStatement = 250,
4319
+ ForOfStatement = 251,
4320
+ ContinueStatement = 252,
4321
+ BreakStatement = 253,
4322
+ ReturnStatement = 254,
4323
+ WithStatement = 255,
4324
+ SwitchStatement = 256,
4325
+ LabeledStatement = 257,
4326
+ ThrowStatement = 258,
4327
+ TryStatement = 259,
4328
+ DebuggerStatement = 260,
4329
+ VariableDeclaration = 261,
4330
+ VariableDeclarationList = 262,
4331
+ FunctionDeclaration = 263,
4332
+ ClassDeclaration = 264,
4333
+ InterfaceDeclaration = 265,
4334
+ TypeAliasDeclaration = 266,
4335
+ EnumDeclaration = 267,
4336
+ ModuleDeclaration = 268,
4337
+ ModuleBlock = 269,
4338
+ CaseBlock = 270,
4339
+ NamespaceExportDeclaration = 271,
4340
+ ImportEqualsDeclaration = 272,
4341
+ ImportDeclaration = 273,
4342
+ ImportClause = 274,
4343
+ NamespaceImport = 275,
4344
+ NamedImports = 276,
4345
+ ImportSpecifier = 277,
4346
+ ExportAssignment = 278,
4347
+ ExportDeclaration = 279,
4348
+ NamedExports = 280,
4349
+ NamespaceExport = 281,
4350
+ ExportSpecifier = 282,
4351
+ MissingDeclaration = 283,
4352
+ ExternalModuleReference = 284,
4353
+ JsxElement = 285,
4354
+ JsxSelfClosingElement = 286,
4355
+ JsxOpeningElement = 287,
4356
+ JsxClosingElement = 288,
4357
+ JsxFragment = 289,
4358
+ JsxOpeningFragment = 290,
4359
+ JsxClosingFragment = 291,
4360
+ JsxAttribute = 292,
4361
+ JsxAttributes = 293,
4362
+ JsxSpreadAttribute = 294,
4363
+ JsxExpression = 295,
4364
+ JsxNamespacedName = 296,
4365
+ CaseClause = 297,
4366
+ DefaultClause = 298,
4367
+ HeritageClause = 299,
4368
+ CatchClause = 300,
4369
+ ImportAttributes = 301,
4370
+ ImportAttribute = 302,
4315
4371
  /** @deprecated */
4316
- AssertClause = 300,
4372
+ AssertClause = 301,
4317
4373
  /** @deprecated */
4318
- AssertEntry = 301,
4374
+ AssertEntry = 302,
4319
4375
  /** @deprecated */
4320
- ImportTypeAssertionContainer = 302,
4321
- PropertyAssignment = 303,
4322
- ShorthandPropertyAssignment = 304,
4323
- SpreadAssignment = 305,
4324
- EnumMember = 306,
4325
- SourceFile = 307,
4326
- Bundle = 308,
4327
- JSDocTypeExpression = 309,
4328
- JSDocNameReference = 310,
4329
- JSDocMemberName = 311,
4330
- JSDocAllType = 312,
4331
- JSDocUnknownType = 313,
4332
- JSDocNullableType = 314,
4333
- JSDocNonNullableType = 315,
4334
- JSDocOptionalType = 316,
4335
- JSDocFunctionType = 317,
4336
- JSDocVariadicType = 318,
4337
- JSDocNamepathType = 319,
4338
- JSDoc = 320,
4376
+ ImportTypeAssertionContainer = 303,
4377
+ PropertyAssignment = 304,
4378
+ ShorthandPropertyAssignment = 305,
4379
+ SpreadAssignment = 306,
4380
+ EnumMember = 307,
4381
+ SourceFile = 308,
4382
+ Bundle = 309,
4383
+ JSDocTypeExpression = 310,
4384
+ JSDocNameReference = 311,
4385
+ JSDocMemberName = 312,
4386
+ JSDocAllType = 313,
4387
+ JSDocUnknownType = 314,
4388
+ JSDocNullableType = 315,
4389
+ JSDocNonNullableType = 316,
4390
+ JSDocOptionalType = 317,
4391
+ JSDocFunctionType = 318,
4392
+ JSDocVariadicType = 319,
4393
+ JSDocNamepathType = 320,
4394
+ JSDoc = 321,
4339
4395
  /** @deprecated Use SyntaxKind.JSDoc */
4340
- JSDocComment = 320,
4341
- JSDocText = 321,
4342
- JSDocTypeLiteral = 322,
4343
- JSDocSignature = 323,
4344
- JSDocLink = 324,
4345
- JSDocLinkCode = 325,
4346
- JSDocLinkPlain = 326,
4347
- JSDocTag = 327,
4348
- JSDocAugmentsTag = 328,
4349
- JSDocImplementsTag = 329,
4350
- JSDocAuthorTag = 330,
4351
- JSDocDeprecatedTag = 331,
4352
- JSDocClassTag = 332,
4353
- JSDocPublicTag = 333,
4354
- JSDocPrivateTag = 334,
4355
- JSDocProtectedTag = 335,
4356
- JSDocReadonlyTag = 336,
4357
- JSDocOverrideTag = 337,
4358
- JSDocCallbackTag = 338,
4359
- JSDocOverloadTag = 339,
4360
- JSDocEnumTag = 340,
4361
- JSDocParameterTag = 341,
4362
- JSDocReturnTag = 342,
4363
- JSDocThisTag = 343,
4364
- JSDocTypeTag = 344,
4365
- JSDocTemplateTag = 345,
4366
- JSDocTypedefTag = 346,
4367
- JSDocSeeTag = 347,
4368
- JSDocPropertyTag = 348,
4369
- JSDocThrowsTag = 349,
4370
- JSDocSatisfiesTag = 350,
4371
- JSDocImportTag = 351,
4372
- SyntaxList = 352,
4373
- NotEmittedStatement = 353,
4374
- PartiallyEmittedExpression = 354,
4375
- CommaListExpression = 355,
4376
- SyntheticReferenceExpression = 356,
4377
- Count = 357,
4396
+ JSDocComment = 321,
4397
+ JSDocText = 322,
4398
+ JSDocTypeLiteral = 323,
4399
+ JSDocSignature = 324,
4400
+ JSDocLink = 325,
4401
+ JSDocLinkCode = 326,
4402
+ JSDocLinkPlain = 327,
4403
+ JSDocTag = 328,
4404
+ JSDocAugmentsTag = 329,
4405
+ JSDocImplementsTag = 330,
4406
+ JSDocAuthorTag = 331,
4407
+ JSDocDeprecatedTag = 332,
4408
+ JSDocClassTag = 333,
4409
+ JSDocPublicTag = 334,
4410
+ JSDocPrivateTag = 335,
4411
+ JSDocProtectedTag = 336,
4412
+ JSDocReadonlyTag = 337,
4413
+ JSDocOverrideTag = 338,
4414
+ JSDocCallbackTag = 339,
4415
+ JSDocOverloadTag = 340,
4416
+ JSDocEnumTag = 341,
4417
+ JSDocParameterTag = 342,
4418
+ JSDocReturnTag = 343,
4419
+ JSDocThisTag = 344,
4420
+ JSDocTypeTag = 345,
4421
+ JSDocTemplateTag = 346,
4422
+ JSDocTypedefTag = 347,
4423
+ JSDocSeeTag = 348,
4424
+ JSDocPropertyTag = 349,
4425
+ JSDocThrowsTag = 350,
4426
+ JSDocSatisfiesTag = 351,
4427
+ JSDocImportTag = 352,
4428
+ SyntaxList = 353,
4429
+ NotEmittedStatement = 354,
4430
+ NotEmittedTypeElement = 355,
4431
+ PartiallyEmittedExpression = 356,
4432
+ CommaListExpression = 357,
4433
+ SyntheticReferenceExpression = 358,
4434
+ Count = 359,
4378
4435
  FirstAssignment = 64,
4379
4436
  LastAssignment = 79,
4380
4437
  FirstCompoundAssignment = 65,
@@ -4382,15 +4439,15 @@ declare namespace ts {
4382
4439
  FirstReservedWord = 83,
4383
4440
  LastReservedWord = 118,
4384
4441
  FirstKeyword = 83,
4385
- LastKeyword = 165,
4442
+ LastKeyword = 166,
4386
4443
  FirstFutureReservedWord = 119,
4387
4444
  LastFutureReservedWord = 127,
4388
- FirstTypeNode = 182,
4389
- LastTypeNode = 205,
4445
+ FirstTypeNode = 183,
4446
+ LastTypeNode = 206,
4390
4447
  FirstPunctuation = 19,
4391
4448
  LastPunctuation = 79,
4392
4449
  FirstToken = 0,
4393
- LastToken = 165,
4450
+ LastToken = 166,
4394
4451
  FirstTriviaToken = 2,
4395
4452
  LastTriviaToken = 7,
4396
4453
  FirstLiteralToken = 9,
@@ -4399,19 +4456,19 @@ declare namespace ts {
4399
4456
  LastTemplateToken = 18,
4400
4457
  FirstBinaryOperator = 30,
4401
4458
  LastBinaryOperator = 79,
4402
- FirstStatement = 243,
4403
- LastStatement = 259,
4404
- FirstNode = 166,
4405
- FirstJSDocNode = 309,
4406
- LastJSDocNode = 351,
4407
- FirstJSDocTagNode = 327,
4408
- LastJSDocTagNode = 351
4459
+ FirstStatement = 244,
4460
+ LastStatement = 260,
4461
+ FirstNode = 167,
4462
+ FirstJSDocNode = 310,
4463
+ LastJSDocNode = 352,
4464
+ FirstJSDocTagNode = 328,
4465
+ LastJSDocTagNode = 352
4409
4466
  }
4410
4467
  type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
4411
4468
  type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
4412
4469
  type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
4413
4470
  type PunctuationSyntaxKind = SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.QuestionDotToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.AmpersandAmpersandEqualsToken | SyntaxKind.BarBarToken | SyntaxKind.BarBarEqualsToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.QuestionQuestionEqualsToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.BacktickToken | SyntaxKind.HashToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken;
4414
- type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.UsingKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword;
4471
+ type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeferKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.UsingKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword;
4415
4472
  type ModifierSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.ConstKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.ExportKeyword | SyntaxKind.InKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.StaticKeyword;
4416
4473
  type KeywordTypeSyntaxKind = SyntaxKind.AnyKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.StringKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VoidKeyword;
4417
4474
  type TokenSyntaxKind = SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | TriviaSyntaxKind | LiteralSyntaxKind | PseudoLiteralSyntaxKind | PunctuationSyntaxKind | SyntaxKind.Identifier | KeywordSyntaxKind;
@@ -5256,7 +5313,7 @@ declare namespace ts {
5256
5313
  readonly expression: SuperExpression;
5257
5314
  }
5258
5315
  interface ImportCall extends CallExpression {
5259
- readonly expression: ImportExpression;
5316
+ readonly expression: ImportExpression | ImportDeferProperty;
5260
5317
  }
5261
5318
  interface ExpressionWithTypeArguments extends MemberExpression, NodeWithTypeArguments {
5262
5319
  readonly kind: SyntaxKind.ExpressionWithTypeArguments;
@@ -5277,7 +5334,7 @@ declare namespace ts {
5277
5334
  interface InstanceofExpression extends BinaryExpression {
5278
5335
  readonly operatorToken: Token<SyntaxKind.InstanceOfKeyword>;
5279
5336
  }
5280
- type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxOpeningLikeElement | InstanceofExpression;
5337
+ type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxCallLike | InstanceofExpression;
5281
5338
  interface AsExpression extends Expression {
5282
5339
  readonly kind: SyntaxKind.AsExpression;
5283
5340
  readonly expression: Expression;
@@ -5306,6 +5363,12 @@ declare namespace ts {
5306
5363
  readonly keywordToken: SyntaxKind.NewKeyword | SyntaxKind.ImportKeyword;
5307
5364
  readonly name: Identifier;
5308
5365
  }
5366
+ interface ImportDeferProperty extends MetaProperty {
5367
+ readonly keywordToken: SyntaxKind.ImportKeyword;
5368
+ readonly name: Identifier & {
5369
+ readonly escapedText: __String & "defer";
5370
+ };
5371
+ }
5309
5372
  interface JsxElement extends PrimaryExpression {
5310
5373
  readonly kind: SyntaxKind.JsxElement;
5311
5374
  readonly openingElement: JsxOpeningElement;
@@ -5313,6 +5376,7 @@ declare namespace ts {
5313
5376
  readonly closingElement: JsxClosingElement;
5314
5377
  }
5315
5378
  type JsxOpeningLikeElement = JsxSelfClosingElement | JsxOpeningElement;
5379
+ type JsxCallLike = JsxOpeningLikeElement | JsxOpeningFragment;
5316
5380
  type JsxAttributeLike = JsxAttribute | JsxSpreadAttribute;
5317
5381
  type JsxAttributeName = Identifier | JsxNamespacedName;
5318
5382
  type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess | JsxNamespacedName;
@@ -5391,6 +5455,9 @@ declare namespace ts {
5391
5455
  interface NotEmittedStatement extends Statement {
5392
5456
  readonly kind: SyntaxKind.NotEmittedStatement;
5393
5457
  }
5458
+ interface NotEmittedTypeElement extends TypeElement {
5459
+ readonly kind: SyntaxKind.NotEmittedTypeElement;
5460
+ }
5394
5461
  /**
5395
5462
  * A list of comma-separated expressions. This node is only created by transformations.
5396
5463
  */
@@ -5642,10 +5709,13 @@ declare namespace ts {
5642
5709
  interface ImportClause extends NamedDeclaration {
5643
5710
  readonly kind: SyntaxKind.ImportClause;
5644
5711
  readonly parent: ImportDeclaration | JSDocImportTag;
5712
+ /** @deprecated Use `phaseModifier` instead */
5645
5713
  readonly isTypeOnly: boolean;
5714
+ readonly phaseModifier: undefined | ImportPhaseModifierSyntaxKind;
5646
5715
  readonly name?: Identifier;
5647
5716
  readonly namedBindings?: NamedImportBindings;
5648
5717
  }
5718
+ type ImportPhaseModifierSyntaxKind = SyntaxKind.TypeKeyword | SyntaxKind.DeferKeyword;
5649
5719
  /** @deprecated */
5650
5720
  type AssertionKey = ImportAttributeName;
5651
5721
  /** @deprecated */
@@ -6028,14 +6098,7 @@ declare namespace ts {
6028
6098
  libReferenceDirectives: readonly FileReference[];
6029
6099
  languageVariant: LanguageVariant;
6030
6100
  isDeclarationFile: boolean;
6031
- /**
6032
- * lib.d.ts should have a reference comment like
6033
- *
6034
- * /// <reference no-default-lib="true"/>
6035
- *
6036
- * If any other file has this comment, it signals not to include lib.d.ts
6037
- * because this containing file is intended to act as a default library.
6038
- */
6101
+ /** @deprecated Always false. Use a Program to determine if a file is a lib file. */
6039
6102
  hasNoDefaultLib: boolean;
6040
6103
  languageVersion: ScriptTarget;
6041
6104
  /**
@@ -6283,7 +6346,7 @@ declare namespace ts {
6283
6346
  getPrivateIdentifierPropertyOfType(leftType: Type, name: string, location: Node): Symbol | undefined;
6284
6347
  getIndexInfoOfType(type: Type, kind: IndexKind): IndexInfo | undefined;
6285
6348
  getIndexInfosOfType(type: Type): readonly IndexInfo[];
6286
- getIndexInfosOfIndexSymbol: (indexSymbol: Symbol) => IndexInfo[];
6349
+ getIndexInfosOfIndexSymbol: (indexSymbol: Symbol, siblingSymbols?: Symbol[] | undefined) => IndexInfo[];
6287
6350
  getSignaturesOfType(type: Type, kind: SignatureKind): readonly Signature[];
6288
6351
  getIndexTypeOfType(type: Type, kind: IndexKind): Type | undefined;
6289
6352
  getBaseTypes(type: InterfaceType): BaseType[];
@@ -6402,6 +6465,7 @@ declare namespace ts {
6402
6465
  getBigIntType(): Type;
6403
6466
  getBigIntLiteralType(value: PseudoBigInt): BigIntLiteralType;
6404
6467
  getBooleanType(): Type;
6468
+ getUnknownType(): Type;
6405
6469
  getFalseType(): Type;
6406
6470
  getTrueType(): Type;
6407
6471
  getVoidType(): Type;
@@ -6424,6 +6488,10 @@ declare namespace ts {
6424
6488
  * is `never`. Instead, use `type.flags & TypeFlags.Never`.
6425
6489
  */
6426
6490
  getNeverType(): Type;
6491
+ /**
6492
+ * Gets the intrinsic `object` type.
6493
+ */
6494
+ getNonPrimitiveType(): Type;
6427
6495
  /**
6428
6496
  * Returns true if the "source" type is assignable to the "target" type.
6429
6497
  *
@@ -6461,6 +6529,7 @@ declare namespace ts {
6461
6529
  * and the operation is cancelled, then it should be discarded, otherwise it is safe to keep.
6462
6530
  */
6463
6531
  runWithCancellationToken<T>(token: CancellationToken, cb: (checker: TypeChecker) => T): T;
6532
+ getTypeArgumentsForResolvedSignature(signature: Signature): readonly Type[] | undefined;
6464
6533
  }
6465
6534
  enum NodeBuilderFlags {
6466
6535
  None = 0,
@@ -6687,53 +6756,53 @@ declare namespace ts {
6687
6756
  enum TypeFlags {
6688
6757
  Any = 1,
6689
6758
  Unknown = 2,
6690
- String = 4,
6691
- Number = 8,
6692
- Boolean = 16,
6693
- Enum = 32,
6694
- BigInt = 64,
6695
- StringLiteral = 128,
6696
- NumberLiteral = 256,
6697
- BooleanLiteral = 512,
6698
- EnumLiteral = 1024,
6699
- BigIntLiteral = 2048,
6700
- ESSymbol = 4096,
6701
- UniqueESSymbol = 8192,
6702
- Void = 16384,
6703
- Undefined = 32768,
6704
- Null = 65536,
6705
- Never = 131072,
6706
- TypeParameter = 262144,
6707
- Object = 524288,
6708
- Union = 1048576,
6709
- Intersection = 2097152,
6710
- Index = 4194304,
6711
- IndexedAccess = 8388608,
6712
- Conditional = 16777216,
6713
- Substitution = 33554432,
6714
- NonPrimitive = 67108864,
6715
- TemplateLiteral = 134217728,
6716
- StringMapping = 268435456,
6717
- Literal = 2944,
6718
- Unit = 109472,
6719
- Freshable = 2976,
6720
- StringOrNumberLiteral = 384,
6721
- PossiblyFalsy = 117724,
6722
- StringLike = 402653316,
6723
- NumberLike = 296,
6724
- BigIntLike = 2112,
6725
- BooleanLike = 528,
6726
- EnumLike = 1056,
6727
- ESSymbolLike = 12288,
6728
- VoidLike = 49152,
6729
- UnionOrIntersection = 3145728,
6730
- StructuredType = 3670016,
6731
- TypeVariable = 8650752,
6732
- InstantiableNonPrimitive = 58982400,
6733
- InstantiablePrimitive = 406847488,
6734
- Instantiable = 465829888,
6735
- StructuredOrInstantiable = 469499904,
6736
- Narrowable = 536624127
6759
+ Undefined = 4,
6760
+ Null = 8,
6761
+ Void = 16,
6762
+ String = 32,
6763
+ Number = 64,
6764
+ BigInt = 128,
6765
+ Boolean = 256,
6766
+ ESSymbol = 512,
6767
+ StringLiteral = 1024,
6768
+ NumberLiteral = 2048,
6769
+ BigIntLiteral = 4096,
6770
+ BooleanLiteral = 8192,
6771
+ UniqueESSymbol = 16384,
6772
+ EnumLiteral = 32768,
6773
+ Enum = 65536,
6774
+ NonPrimitive = 131072,
6775
+ Never = 262144,
6776
+ TypeParameter = 524288,
6777
+ Object = 1048576,
6778
+ Index = 2097152,
6779
+ TemplateLiteral = 4194304,
6780
+ StringMapping = 8388608,
6781
+ Substitution = 16777216,
6782
+ IndexedAccess = 33554432,
6783
+ Conditional = 67108864,
6784
+ Union = 134217728,
6785
+ Intersection = 268435456,
6786
+ Literal = 15360,
6787
+ Unit = 97292,
6788
+ Freshable = 80896,
6789
+ StringOrNumberLiteral = 3072,
6790
+ PossiblyFalsy = 15868,
6791
+ StringLike = 12583968,
6792
+ NumberLike = 67648,
6793
+ BigIntLike = 4224,
6794
+ BooleanLike = 8448,
6795
+ EnumLike = 98304,
6796
+ ESSymbolLike = 16896,
6797
+ VoidLike = 20,
6798
+ UnionOrIntersection = 402653184,
6799
+ StructuredType = 403701760,
6800
+ TypeVariable = 34078720,
6801
+ InstantiableNonPrimitive = 117964800,
6802
+ InstantiablePrimitive = 14680064,
6803
+ Instantiable = 132644864,
6804
+ StructuredOrInstantiable = 536346624,
6805
+ Narrowable = 536575971
6737
6806
  }
6738
6807
  type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
6739
6808
  interface Type {
@@ -6806,11 +6875,11 @@ declare namespace ts {
6806
6875
  JSLiteral = 4096,
6807
6876
  FreshLiteral = 8192,
6808
6877
  ArrayLiteral = 16384,
6878
+ SingleSignatureType = 134217728,
6809
6879
  ClassOrInterface = 3,
6810
6880
  ContainsSpread = 2097152,
6811
6881
  ObjectRestType = 4194304,
6812
- InstantiationExpressionType = 8388608,
6813
- SingleSignatureType = 134217728
6882
+ InstantiationExpressionType = 8388608
6814
6883
  }
6815
6884
  interface ObjectType extends Type {
6816
6885
  objectFlags: ObjectFlags;
@@ -6954,11 +7023,15 @@ declare namespace ts {
6954
7023
  String = 0,
6955
7024
  Number = 1
6956
7025
  }
7026
+ type ElementWithComputedPropertyName = (ClassElement | ObjectLiteralElement) & {
7027
+ name: ComputedPropertyName;
7028
+ };
6957
7029
  interface IndexInfo {
6958
7030
  keyType: Type;
6959
7031
  type: Type;
6960
7032
  isReadonly: boolean;
6961
7033
  declaration?: IndexSignatureDeclaration;
7034
+ components?: ElementWithComputedPropertyName[];
6962
7035
  }
6963
7036
  enum InferencePriority {
6964
7037
  None = 0,
@@ -7029,6 +7102,7 @@ declare namespace ts {
7029
7102
  Message = 3
7030
7103
  }
7031
7104
  enum ModuleResolutionKind {
7105
+ /** @deprecated */
7032
7106
  Classic = 1,
7033
7107
  /**
7034
7108
  * @deprecated
@@ -7036,6 +7110,9 @@ declare namespace ts {
7036
7110
  * Use the new name or consider switching to a modern module resolution target.
7037
7111
  */
7038
7112
  NodeJs = 2,
7113
+ /**
7114
+ * @deprecated
7115
+ */
7039
7116
  Node10 = 2,
7040
7117
  Node16 = 3,
7041
7118
  NodeNext = 99,
@@ -7098,6 +7175,7 @@ declare namespace ts {
7098
7175
  allowUnreachableCode?: boolean;
7099
7176
  allowUnusedLabels?: boolean;
7100
7177
  alwaysStrict?: boolean;
7178
+ /** @deprecated */
7101
7179
  baseUrl?: string;
7102
7180
  /** @deprecated */
7103
7181
  charset?: string;
@@ -7111,6 +7189,7 @@ declare namespace ts {
7111
7189
  disableSourceOfProjectReferenceRedirect?: boolean;
7112
7190
  disableSolutionSearching?: boolean;
7113
7191
  disableReferencedProjectLoad?: boolean;
7192
+ /** @deprecated */
7114
7193
  downlevelIteration?: boolean;
7115
7194
  emitBOM?: boolean;
7116
7195
  emitDecoratorMetadata?: boolean;
@@ -7129,6 +7208,7 @@ declare namespace ts {
7129
7208
  /** @deprecated */
7130
7209
  keyofStringsOnly?: boolean;
7131
7210
  lib?: string[];
7211
+ libReplacement?: boolean;
7132
7212
  locale?: string;
7133
7213
  mapRoot?: string;
7134
7214
  maxNodeModuleJsDepth?: number;
@@ -7138,6 +7218,7 @@ declare namespace ts {
7138
7218
  moduleDetection?: ModuleDetectionKind;
7139
7219
  newLine?: NewLineKind;
7140
7220
  noEmit?: boolean;
7221
+ noCheck?: boolean;
7141
7222
  noEmitHelpers?: boolean;
7142
7223
  noEmitOnError?: boolean;
7143
7224
  noErrorTruncation?: boolean;
@@ -7177,6 +7258,7 @@ declare namespace ts {
7177
7258
  removeComments?: boolean;
7178
7259
  resolvePackageJsonExports?: boolean;
7179
7260
  resolvePackageJsonImports?: boolean;
7261
+ rewriteRelativeImportExtensions?: boolean;
7180
7262
  rootDir?: string;
7181
7263
  rootDirs?: string[];
7182
7264
  skipLibCheck?: boolean;
@@ -7203,6 +7285,7 @@ declare namespace ts {
7203
7285
  /** Paths used to compute primary types search locations */
7204
7286
  typeRoots?: string[];
7205
7287
  verbatimModuleSyntax?: boolean;
7288
+ erasableSyntaxOnly?: boolean;
7206
7289
  esModuleInterop?: boolean;
7207
7290
  useDefineForClassFields?: boolean;
7208
7291
  [option: string]: CompilerOptionsValue | TsConfigSourceFile | undefined;
@@ -7224,16 +7307,22 @@ declare namespace ts {
7224
7307
  [option: string]: CompilerOptionsValue | undefined;
7225
7308
  }
7226
7309
  enum ModuleKind {
7310
+ /** @deprecated */
7227
7311
  None = 0,
7228
7312
  CommonJS = 1,
7313
+ /** @deprecated */
7229
7314
  AMD = 2,
7315
+ /** @deprecated */
7230
7316
  UMD = 3,
7317
+ /** @deprecated */
7231
7318
  System = 4,
7232
7319
  ES2015 = 5,
7233
7320
  ES2020 = 6,
7234
7321
  ES2022 = 7,
7235
7322
  ESNext = 99,
7236
7323
  Node16 = 100,
7324
+ Node18 = 101,
7325
+ Node20 = 102,
7237
7326
  NodeNext = 199,
7238
7327
  Preserve = 200
7239
7328
  }
@@ -7277,6 +7366,7 @@ declare namespace ts {
7277
7366
  enum ScriptTarget {
7278
7367
  /** @deprecated */
7279
7368
  ES3 = 0,
7369
+ /** @deprecated */
7280
7370
  ES5 = 1,
7281
7371
  ES2015 = 2,
7282
7372
  ES2016 = 3,
@@ -7287,9 +7377,12 @@ declare namespace ts {
7287
7377
  ES2021 = 8,
7288
7378
  ES2022 = 9,
7289
7379
  ES2023 = 10,
7380
+ ES2024 = 11,
7381
+ ES2025 = 12,
7290
7382
  ESNext = 99,
7291
7383
  JSON = 100,
7292
- Latest = 99
7384
+ Latest = 99,
7385
+ LatestStandard = 12
7293
7386
  }
7294
7387
  enum LanguageVariant {
7295
7388
  Standard = 0,
@@ -7525,8 +7618,9 @@ declare namespace ts {
7525
7618
  NonNullAssertions = 4,
7526
7619
  PartiallyEmittedExpressions = 8,
7527
7620
  ExpressionsWithTypeArguments = 16,
7528
- Assertions = 6,
7529
- All = 31,
7621
+ Satisfies = 32,
7622
+ Assertions = 38,
7623
+ All = 63,
7530
7624
  ExcludeJSDocTypeAssertion = -2147483648
7531
7625
  }
7532
7626
  type ImmediatelyInvokedFunctionExpression = CallExpression & {
@@ -7812,7 +7906,11 @@ declare namespace ts {
7812
7906
  updateImportEqualsDeclaration(node: ImportEqualsDeclaration, modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
7813
7907
  createImportDeclaration(modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, attributes?: ImportAttributes): ImportDeclaration;
7814
7908
  updateImportDeclaration(node: ImportDeclaration, modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, attributes: ImportAttributes | undefined): ImportDeclaration;
7909
+ createImportClause(phaseModifier: ImportPhaseModifierSyntaxKind | undefined, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7910
+ /** @deprecated */
7815
7911
  createImportClause(isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7912
+ updateImportClause(node: ImportClause, phaseModifier: ImportPhaseModifierSyntaxKind | undefined, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7913
+ /** @deprecated */
7816
7914
  updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7817
7915
  /** @deprecated */
7818
7916
  createAssertClause(elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
@@ -7975,6 +8073,7 @@ declare namespace ts {
7975
8073
  createSourceFile(statements: readonly Statement[], endOfFileToken: EndOfFileToken, flags: NodeFlags): SourceFile;
7976
8074
  updateSourceFile(node: SourceFile, statements: readonly Statement[], isDeclarationFile?: boolean, referencedFiles?: readonly FileReference[], typeReferences?: readonly FileReference[], hasNoDefaultLib?: boolean, libReferences?: readonly FileReference[]): SourceFile;
7977
8075
  createNotEmittedStatement(original: Node): NotEmittedStatement;
8076
+ createNotEmittedTypeElement(): NotEmittedTypeElement;
7978
8077
  createPartiallyEmittedExpression(expression: Expression, original?: Node): PartiallyEmittedExpression;
7979
8078
  updatePartiallyEmittedExpression(node: PartiallyEmittedExpression, expression: Expression): PartiallyEmittedExpression;
7980
8079
  createCommaListExpression(elements: readonly Expression[]): CommaListExpression;
@@ -8496,6 +8595,12 @@ declare namespace ts {
8496
8595
  readonly displayPartsForJSDoc?: boolean;
8497
8596
  readonly generateReturnInDocTemplate?: boolean;
8498
8597
  readonly disableLineTextInReferences?: boolean;
8598
+ /**
8599
+ * A positive integer indicating the maximum length of a hover text before it is truncated.
8600
+ *
8601
+ * Default: `500`
8602
+ */
8603
+ readonly maximumHoverLength?: number;
8499
8604
  }
8500
8605
  type OrganizeImportsTypeOrder = "last" | "inline" | "first";
8501
8606
  /** Represents a bigint literal value without requiring bigint support */
@@ -8857,6 +8962,7 @@ declare namespace ts {
8857
8962
  function isTypeOnlyImportDeclaration(node: Node): node is TypeOnlyImportDeclaration;
8858
8963
  function isTypeOnlyExportDeclaration(node: Node): node is TypeOnlyExportDeclaration;
8859
8964
  function isTypeOnlyImportOrExportDeclaration(node: Node): node is TypeOnlyAliasDeclaration;
8965
+ function isPartOfTypeOnlyImportOrExportDeclaration(node: Node): boolean;
8860
8966
  function isStringTextContainingNode(node: Node): node is StringLiteral | TemplateLiteralToken;
8861
8967
  function isImportAttributeName(node: Node): node is ImportAttributeName;
8862
8968
  function isModifier(node: Node): node is Modifier;
@@ -8905,6 +9011,7 @@ declare namespace ts {
8905
9011
  function isJsxAttributeLike(node: Node): node is JsxAttributeLike;
8906
9012
  function isStringLiteralOrJsxExpression(node: Node): node is StringLiteral | JsxExpression;
8907
9013
  function isJsxOpeningLikeElement(node: Node): node is JsxOpeningLikeElement;
9014
+ function isJsxCallLike(node: Node): node is JsxCallLike;
8908
9015
  function isCaseOrDefaultClause(node: Node): node is CaseOrDefaultClause;
8909
9016
  /** True if node is of a kind that may contain comment text. */
8910
9017
  function isJSDocCommentContainingNode(node: Node): boolean;
@@ -9283,6 +9390,7 @@ declare namespace ts {
9283
9390
  jsDocParsingMode?: JSDocParsingMode;
9284
9391
  }
9285
9392
  function parseCommandLine(commandLine: readonly string[], readFile?: (path: string) => string | undefined): ParsedCommandLine;
9393
+ function parseBuildCommand(commandLine: readonly string[]): ParsedBuildCommand;
9286
9394
  /**
9287
9395
  * Reads the config file, reports errors if any and exits if the config file cannot be found
9288
9396
  */
@@ -9337,6 +9445,13 @@ declare namespace ts {
9337
9445
  options: TypeAcquisition;
9338
9446
  errors: Diagnostic[];
9339
9447
  };
9448
+ /** Parsed command line for build */
9449
+ interface ParsedBuildCommand {
9450
+ buildOptions: BuildOptions;
9451
+ watchOptions: WatchOptions | undefined;
9452
+ projects: string[];
9453
+ errors: Diagnostic[];
9454
+ }
9340
9455
  type DiagnosticReporter = (diagnostic: Diagnostic) => void;
9341
9456
  /**
9342
9457
  * Reports config file diagnostics
@@ -9378,7 +9493,7 @@ declare namespace ts {
9378
9493
  * Given a set of options, returns the set of type directive names
9379
9494
  * that should be included for this program automatically.
9380
9495
  * This list could either come from the config file,
9381
- * or from enumerating the types root + initial secondary types lookup location.
9496
+ * and/or from enumerating the types root + initial secondary types lookup location given "*" compat wildcard.
9382
9497
  * More type directives might appear in the program later as a result of loading actual source files;
9383
9498
  * this list is only the set of defaults that are implicitly included.
9384
9499
  */
@@ -10068,6 +10183,8 @@ declare namespace ts {
10068
10183
  emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): EmitResult | undefined;
10069
10184
  }
10070
10185
  type InvalidatedProject<T extends BuilderProgram> = UpdateOutputFileStampsProject | BuildInvalidedProject<T>;
10186
+ /** Returns true if commandline is --build and needs to be parsed useing parseBuildCommand */
10187
+ function isBuildCommand(commandLineArgs: readonly string[]): boolean;
10071
10188
  function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
10072
10189
  /**
10073
10190
  * Represents an immutable snapshot of a script at a specified time.Once acquired, the
@@ -10099,6 +10216,7 @@ declare namespace ts {
10099
10216
  libReferenceDirectives: FileReference[];
10100
10217
  importedFiles: FileReference[];
10101
10218
  ambientExternalModules?: string[];
10219
+ /** @deprecated Always false. Use a Program to determine if a file is a lib file. */
10102
10220
  isLibFile: boolean;
10103
10221
  }
10104
10222
  interface HostCancellationToken {
@@ -10265,8 +10383,9 @@ declare namespace ts {
10265
10383
  *
10266
10384
  * @param fileName The path to the file
10267
10385
  * @param position A zero-based index of the character where you want the quick info
10386
+ * @param maximumLength Maximum length of a quickinfo text before it is truncated.
10268
10387
  */
10269
- getQuickInfoAtPosition(fileName: string, position: number): QuickInfo | undefined;
10388
+ getQuickInfoAtPosition(fileName: string, position: number, maximumLength?: number): QuickInfo | undefined;
10270
10389
  getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan | undefined;
10271
10390
  getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan | undefined;
10272
10391
  getSignatureHelpItems(fileName: string, position: number, options: SignatureHelpItemsOptions | undefined): SignatureHelpItems | undefined;
@@ -10342,6 +10461,7 @@ declare namespace ts {
10342
10461
  uncommentSelection(fileName: string, textRange: TextRange): TextChange[];
10343
10462
  getSupportedCodeFixes(fileName?: string): readonly string[];
10344
10463
  dispose(): void;
10464
+ preparePasteEditsForFile(fileName: string, copiedTextRanges: TextRange[]): boolean;
10345
10465
  getPasteEdits(args: PasteEditsArgs, formatOptions: FormatCodeSettings): PasteEdits;
10346
10466
  }
10347
10467
  interface JsxClosingTagInfo {
@@ -10852,6 +10972,7 @@ declare namespace ts {
10852
10972
  displayParts?: SymbolDisplayPart[];
10853
10973
  documentation?: SymbolDisplayPart[];
10854
10974
  tags?: JSDocTagInfo[];
10975
+ canIncreaseVerbosityLevel?: boolean;
10855
10976
  }
10856
10977
  type RenameInfo = RenameInfoSuccess | RenameInfoFailure;
10857
10978
  interface RenameInfoSuccess {