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
|
@@ -39,40 +39,26 @@ interface FontFaceSet extends Set<FontFace> {
|
|
|
39
39
|
|
|
40
40
|
interface FormData {
|
|
41
41
|
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
|
|
42
|
-
/**
|
|
43
|
-
* Returns an array of key, value pairs for every entry in the list.
|
|
44
|
-
*/
|
|
42
|
+
/** Returns an array of key, value pairs for every entry in the list. */
|
|
45
43
|
entries(): IterableIterator<[string, FormDataEntryValue]>;
|
|
46
|
-
/**
|
|
47
|
-
* Returns a list of keys in the list.
|
|
48
|
-
*/
|
|
44
|
+
/** Returns a list of keys in the list. */
|
|
49
45
|
keys(): IterableIterator<string>;
|
|
50
|
-
/**
|
|
51
|
-
* Returns a list of values in the list.
|
|
52
|
-
*/
|
|
46
|
+
/** Returns a list of values in the list. */
|
|
53
47
|
values(): IterableIterator<FormDataEntryValue>;
|
|
54
48
|
}
|
|
55
49
|
|
|
56
50
|
interface Headers {
|
|
57
51
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
58
|
-
/**
|
|
59
|
-
* Returns an iterator allowing to go through all key/value pairs contained in this object.
|
|
60
|
-
*/
|
|
52
|
+
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
61
53
|
entries(): IterableIterator<[string, string]>;
|
|
62
|
-
/**
|
|
63
|
-
* Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
|
|
64
|
-
*/
|
|
54
|
+
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
65
55
|
keys(): IterableIterator<string>;
|
|
66
|
-
/**
|
|
67
|
-
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
|
|
68
|
-
*/
|
|
56
|
+
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
69
57
|
values(): IterableIterator<string>;
|
|
70
58
|
}
|
|
71
59
|
|
|
72
60
|
interface IDBDatabase {
|
|
73
|
-
/**
|
|
74
|
-
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
|
75
|
-
*/
|
|
61
|
+
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
|
|
76
62
|
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;
|
|
77
63
|
}
|
|
78
64
|
|
|
@@ -90,13 +76,6 @@ interface MessageEvent<T = any> {
|
|
|
90
76
|
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
91
77
|
}
|
|
92
78
|
|
|
93
|
-
interface ReadableStream<R = any> {
|
|
94
|
-
[Symbol.iterator](): IterableIterator<any>;
|
|
95
|
-
entries(): IterableIterator<[number, any]>;
|
|
96
|
-
keys(): IterableIterator<number>;
|
|
97
|
-
values(): IterableIterator<any>;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
79
|
interface SubtleCrypto {
|
|
101
80
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
102
81
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair>;
|
|
@@ -109,17 +88,11 @@ interface SubtleCrypto {
|
|
|
109
88
|
|
|
110
89
|
interface URLSearchParams {
|
|
111
90
|
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
112
|
-
/**
|
|
113
|
-
* Returns an array of key, value pairs for every entry in the search params.
|
|
114
|
-
*/
|
|
91
|
+
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
115
92
|
entries(): IterableIterator<[string, string]>;
|
|
116
|
-
/**
|
|
117
|
-
* Returns a list of keys in the search params.
|
|
118
|
-
*/
|
|
93
|
+
/** Returns a list of keys in the search params. */
|
|
119
94
|
keys(): IterableIterator<string>;
|
|
120
|
-
/**
|
|
121
|
-
* Returns a list of values in the search params.
|
|
122
|
-
*/
|
|
95
|
+
/** Returns a list of values in the search params. */
|
|
123
96
|
values(): IterableIterator<string>;
|
|
124
97
|
}
|
|
125
98
|
|