typescript 5.1.0-dev.20230421 → 5.1.0-dev.20230422

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.
@@ -407,10 +407,8 @@ declare namespace ts {
407
407
  NotEmittedStatement = 358,
408
408
  PartiallyEmittedExpression = 359,
409
409
  CommaListExpression = 360,
410
- MergeDeclarationMarker = 361,
411
- EndOfDeclarationMarker = 362,
412
- SyntheticReferenceExpression = 363,
413
- Count = 364,
410
+ SyntheticReferenceExpression = 361,
411
+ Count = 362,
414
412
  FirstAssignment = 64,
415
413
  LastAssignment = 79,
416
414
  FirstCompoundAssignment = 65,
@@ -3501,9 +3499,8 @@ declare namespace ts {
3501
3499
  ReuseTempVariableScope = 1048576,
3502
3500
  CustomPrologue = 2097152,
3503
3501
  NoHoisting = 4194304,
3504
- HasEndOfDeclarationMarker = 8388608,
3505
- Iterator = 16777216,
3506
- NoAsciiEscaping = 33554432
3502
+ Iterator = 8388608,
3503
+ NoAsciiEscaping = 16777216
3507
3504
  }
3508
3505
  interface EmitHelperBase {
3509
3506
  readonly name: string;
@@ -6207,7 +6204,11 @@ declare namespace ts {
6207
6204
  * arguments for any interactive action before offering it.
6208
6205
  */
6209
6206
  getApplicableRefactors(fileName: string, positionOrRange: number | TextRange, preferences: UserPreferences | undefined, triggerReason?: RefactorTriggerReason, kind?: string, includeInteractiveActions?: boolean): ApplicableRefactorInfo[];
6210
- getEditsForRefactor(fileName: string, formatOptions: FormatCodeSettings, positionOrRange: number | TextRange, refactorName: string, actionName: string, preferences: UserPreferences | undefined): RefactorEditInfo | undefined;
6207
+ getEditsForRefactor(fileName: string, formatOptions: FormatCodeSettings, positionOrRange: number | TextRange, refactorName: string, actionName: string, preferences: UserPreferences | undefined, includeInteractiveActions?: InteractiveRefactorArguments): RefactorEditInfo | undefined;
6208
+ getMoveToRefactoringFileSuggestions(fileName: string, positionOrRange: number | TextRange, preferences: UserPreferences | undefined, triggerReason?: RefactorTriggerReason, kind?: string): {
6209
+ newFileName: string;
6210
+ files: string[];
6211
+ };
6211
6212
  organizeImports(args: OrganizeImportsArgs, formatOptions: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[];
6212
6213
  getEditsForFileRename(oldFilePath: string, newFilePath: string, formatOptions: FormatCodeSettings, preferences: UserPreferences | undefined): readonly FileTextChanges[];
6213
6214
  getEmitOutput(fileName: string, emitOnlyDtsFiles?: boolean, forceDtsEmit?: boolean): EmitOutput;
@@ -6715,6 +6716,9 @@ declare namespace ts {
6715
6716
  interface DocCommentTemplateOptions {
6716
6717
  readonly generateReturnInDocTemplate?: boolean;
6717
6718
  }
6719
+ interface InteractiveRefactorArguments {
6720
+ targetFile: string;
6721
+ }
6718
6722
  interface SignatureHelpParameter {
6719
6723
  name: string;
6720
6724
  documentation: SymbolDisplayPart[];