@typescript-deploys/pr-build 4.6.0-pr-47183-2 → 4.6.0-pr-47400-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.
@@ -3344,7 +3344,7 @@ declare namespace ts {
3344
3344
  createTrue(): TrueLiteral;
3345
3345
  createFalse(): FalseLiteral;
3346
3346
  createModifier<T extends ModifierSyntaxKind>(kind: T): ModifierToken<T>;
3347
- createModifiersFromModifierFlags(flags: ModifierFlags): Modifier[];
3347
+ createModifiersFromModifierFlags(flags: ModifierFlags): Modifier[] | undefined;
3348
3348
  createQualifiedName(left: EntityName, right: string | Identifier): QualifiedName;
3349
3349
  updateQualifiedName(node: QualifiedName, left: EntityName, right: Identifier): QualifiedName;
3350
3350
  createComputedPropertyName(expression: Expression): ComputedPropertyName;
@@ -5760,8 +5760,9 @@ declare namespace ts {
5760
5760
  * @param position A zero-based index of the character where you want the entries
5761
5761
  * @param options An object describing how the request was triggered and what kinds
5762
5762
  * of code actions can be returned with the completions.
5763
+ * @param formattingSettings settings needed for calling formatting functions.
5763
5764
  */
5764
- getCompletionsAtPosition(fileName: string, position: number, options: GetCompletionsAtPositionOptions | undefined): WithMetadata<CompletionInfo> | undefined;
5765
+ getCompletionsAtPosition(fileName: string, position: number, options: GetCompletionsAtPositionOptions | undefined, formattingSettings?: FormatCodeSettings): WithMetadata<CompletionInfo> | undefined;
5765
5766
  /**
5766
5767
  * Gets the extended details for a completion entry retrieved from `getCompletionsAtPosition`.
5767
5768
  *
@@ -10486,6 +10487,7 @@ declare namespace ts.server {
10486
10487
  logError(err: Error, cmd: string): void;
10487
10488
  private logErrorWorker;
10488
10489
  send(msg: protocol.Message): void;
10490
+ protected writeMessage(msg: protocol.Message): void;
10489
10491
  event<T extends object>(body: T, eventName: string): void;
10490
10492
  /** @deprecated */
10491
10493
  output(info: any, cmdName: string, reqSeq?: number, errorMsg?: string): void;
@@ -10671,7 +10673,7 @@ declare namespace ts {
10671
10673
  /** @deprecated Use `factory.createModifier` or the factory supplied by your transformation context instead. */
10672
10674
  const createModifier: <T extends ModifierSyntaxKind>(kind: T) => ModifierToken<T>;
10673
10675
  /** @deprecated Use `factory.createModifiersFromModifierFlags` or the factory supplied by your transformation context instead. */
10674
- const createModifiersFromModifierFlags: (flags: ModifierFlags) => Modifier[];
10676
+ const createModifiersFromModifierFlags: (flags: ModifierFlags) => Modifier[] | undefined;
10675
10677
  /** @deprecated Use `factory.createQualifiedName` or the factory supplied by your transformation context instead. */
10676
10678
  const createQualifiedName: (left: EntityName, right: string | Identifier) => QualifiedName;
10677
10679
  /** @deprecated Use `factory.updateQualifiedName` or the factory supplied by your transformation context instead. */