typescript 4.5.0-dev.20211025 → 4.5.0-dev.20211029

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.
@@ -4042,6 +4042,7 @@ declare namespace ts {
4042
4042
  readonly includeCompletionsWithSnippetText?: boolean;
4043
4043
  readonly includeAutomaticOptionalChainCompletions?: boolean;
4044
4044
  readonly includeCompletionsWithInsertText?: boolean;
4045
+ readonly includeCompletionsWithClassMemberSnippets?: boolean;
4045
4046
  readonly allowIncompleteCompletions?: boolean;
4046
4047
  readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
4047
4048
  /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
@@ -9537,6 +9538,13 @@ declare namespace ts.server.protocol {
9537
9538
  * values, with insertion text to replace preceding `.` tokens with `?.`.
9538
9539
  */
9539
9540
  readonly includeAutomaticOptionalChainCompletions?: boolean;
9541
+ /**
9542
+ * If enabled, completions for class members (e.g. methods and properties) will include
9543
+ * a whole declaration for the member.
9544
+ * E.g., `class A { f| }` could be completed to `class A { foo(): number {} }`, instead of
9545
+ * `class A { foo }`.
9546
+ */
9547
+ readonly includeCompletionsWithClassMemberSnippets?: boolean;
9540
9548
  readonly allowIncompleteCompletions?: boolean;
9541
9549
  readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
9542
9550
  /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */