typescript 4.4.4 → 4.5.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.
- package/SECURITY.md +41 -0
- package/lib/cancellationToken.js +1 -1
- package/lib/cs/diagnosticMessages.generated.json +53 -61
- package/lib/de/diagnosticMessages.generated.json +56 -64
- package/lib/es/diagnosticMessages.generated.json +54 -62
- package/lib/fr/diagnosticMessages.generated.json +56 -64
- package/lib/it/diagnosticMessages.generated.json +56 -64
- package/lib/ja/diagnosticMessages.generated.json +56 -64
- package/lib/ko/diagnosticMessages.generated.json +53 -61
- package/lib/lib.dom.d.ts +854 -1987
- package/lib/lib.dom.iterable.d.ts +17 -55
- package/lib/lib.es2015.core.d.ts +53 -13
- package/lib/lib.es2015.iterable.d.ts +2 -10
- package/lib/lib.es2015.promise.d.ts +2 -74
- package/lib/lib.es2018.intl.d.ts +23 -11
- package/lib/lib.es2019.string.d.ts +8 -2
- package/lib/lib.es2020.intl.d.ts +173 -114
- package/lib/lib.es2020.promise.d.ts +2 -3
- package/lib/lib.es2021.d.ts +1 -0
- package/lib/lib.es2021.intl.d.ts +44 -0
- package/lib/lib.es2021.promise.d.ts +8 -1
- package/lib/lib.es5.d.ts +103 -43
- package/lib/lib.esnext.intl.d.ts +1 -10
- package/lib/lib.webworker.d.ts +241 -537
- package/lib/lib.webworker.iterable.d.ts +10 -37
- package/lib/pl/diagnosticMessages.generated.json +56 -64
- package/lib/protocol.d.ts +8 -0
- package/lib/pt-br/diagnosticMessages.generated.json +56 -64
- package/lib/ru/diagnosticMessages.generated.json +54 -62
- package/lib/tr/diagnosticMessages.generated.json +56 -64
- package/lib/tsc.js +7888 -5950
- package/lib/tsserver.js +13027 -9749
- package/lib/tsserverlibrary.d.ts +411 -287
- package/lib/tsserverlibrary.js +13002 -9724
- package/lib/typescript.d.ts +401 -285
- package/lib/typescript.js +12879 -9617
- package/lib/typescriptServices.d.ts +401 -285
- package/lib/typescriptServices.js +12879 -9617
- package/lib/typingsInstaller.js +9179 -6936
- package/lib/zh-cn/diagnosticMessages.generated.json +56 -64
- package/lib/zh-tw/diagnosticMessages.generated.json +56 -64
- package/package.json +5 -7
package/lib/protocol.d.ts
CHANGED
|
@@ -2637,6 +2637,13 @@ declare namespace ts.server.protocol {
|
|
|
2637
2637
|
* values, with insertion text to replace preceding `.` tokens with `?.`.
|
|
2638
2638
|
*/
|
|
2639
2639
|
readonly includeAutomaticOptionalChainCompletions?: boolean;
|
|
2640
|
+
/**
|
|
2641
|
+
* If enabled, completions for class members (e.g. methods and properties) will include
|
|
2642
|
+
* a whole declaration for the member.
|
|
2643
|
+
* E.g., `class A { f| }` could be completed to `class A { foo(): number {} }`, instead of
|
|
2644
|
+
* `class A { foo }`.
|
|
2645
|
+
*/
|
|
2646
|
+
readonly includeCompletionsWithClassMemberSnippets?: boolean;
|
|
2640
2647
|
readonly allowIncompleteCompletions?: boolean;
|
|
2641
2648
|
readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
|
|
2642
2649
|
/** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
|
|
@@ -2647,6 +2654,7 @@ declare namespace ts.server.protocol {
|
|
|
2647
2654
|
readonly provideRefactorNotApplicableReason?: boolean;
|
|
2648
2655
|
readonly allowRenameOfImportPath?: boolean;
|
|
2649
2656
|
readonly includePackageJsonAutoImports?: "auto" | "on" | "off";
|
|
2657
|
+
readonly jsxAttributeCompletionStyle?: "auto" | "braces" | "none";
|
|
2650
2658
|
readonly displayPartsForJSDoc?: boolean;
|
|
2651
2659
|
readonly generateReturnInDocTemplate?: boolean;
|
|
2652
2660
|
}
|