typescript 4.7.0-dev.20220329 → 4.7.0-dev.20220330

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.
@@ -4099,6 +4099,7 @@ declare namespace ts {
4099
4099
  readonly includeAutomaticOptionalChainCompletions?: boolean;
4100
4100
  readonly includeCompletionsWithInsertText?: boolean;
4101
4101
  readonly includeCompletionsWithClassMemberSnippets?: boolean;
4102
+ readonly includeCompletionsWithObjectLiteralMethodSnippets?: boolean;
4102
4103
  readonly allowIncompleteCompletions?: boolean;
4103
4104
  readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
4104
4105
  /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
@@ -9628,6 +9629,13 @@ declare namespace ts.server.protocol {
9628
9629
  * `class A { foo }`.
9629
9630
  */
9630
9631
  readonly includeCompletionsWithClassMemberSnippets?: boolean;
9632
+ /**
9633
+ * If enabled, object literal methods will have a method declaration completion entry in addition
9634
+ * to the regular completion entry containing just the method name.
9635
+ * E.g., `const objectLiteral: T = { f| }` could be completed to `const objectLiteral: T = { foo(): void {} }`,
9636
+ * in addition to `const objectLiteral: T = { foo }`.
9637
+ */
9638
+ readonly includeCompletionsWithObjectLiteralMethodSnippets?: boolean;
9631
9639
  readonly allowIncompleteCompletions?: boolean;
9632
9640
  readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
9633
9641
  /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */