typescript 4.7.0-dev.20220327 → 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.
- package/lib/de/diagnosticMessages.generated.json +1 -0
- package/lib/ja/diagnosticMessages.generated.json +1 -0
- package/lib/ko/diagnosticMessages.generated.json +1 -0
- package/lib/pl/diagnosticMessages.generated.json +1 -0
- package/lib/protocol.d.ts +7 -0
- package/lib/ru/diagnosticMessages.generated.json +1 -0
- package/lib/tr/diagnosticMessages.generated.json +1 -0
- package/lib/tsc.js +127 -134
- package/lib/tsserver.js +455 -271
- package/lib/tsserverlibrary.d.ts +8 -0
- package/lib/tsserverlibrary.js +455 -271
- package/lib/typescript.d.ts +1 -0
- package/lib/typescript.js +455 -271
- package/lib/typescriptServices.d.ts +1 -0
- package/lib/typescriptServices.js +455 -271
- package/lib/typingsInstaller.js +140 -147
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -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" */
|