typescript 4.5.0-dev.20211028 → 4.5.0-dev.20211101
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/cs/diagnosticMessages.generated.json +1 -0
- package/lib/de/diagnosticMessages.generated.json +1 -0
- package/lib/es/diagnosticMessages.generated.json +1 -0
- package/lib/fr/diagnosticMessages.generated.json +1 -0
- package/lib/it/diagnosticMessages.generated.json +1 -0
- package/lib/ja/diagnosticMessages.generated.json +1 -0
- package/lib/ko/diagnosticMessages.generated.json +1 -0
- package/lib/lib.dom.d.ts +186 -92
- package/lib/lib.dom.iterable.d.ts +1 -7
- package/lib/lib.webworker.d.ts +60 -19
- package/lib/lib.webworker.iterable.d.ts +0 -7
- package/lib/pl/diagnosticMessages.generated.json +1 -0
- package/lib/protocol.d.ts +7 -0
- package/lib/pt-br/diagnosticMessages.generated.json +1 -0
- package/lib/ru/diagnosticMessages.generated.json +1 -0
- package/lib/tr/diagnosticMessages.generated.json +1 -0
- package/lib/tsc.js +200 -52
- package/lib/tsserver.js +528 -117
- package/lib/tsserverlibrary.d.ts +8 -0
- package/lib/tsserverlibrary.js +528 -117
- package/lib/typescript.d.ts +1 -0
- package/lib/typescript.js +524 -117
- package/lib/typescriptServices.d.ts +1 -0
- package/lib/typescriptServices.js +524 -117
- package/lib/typingsInstaller.js +256 -54
- package/lib/zh-cn/diagnosticMessages.generated.json +1 -0
- package/lib/zh-tw/diagnosticMessages.generated.json +1 -0
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -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" */
|