typescript 5.9.0-dev.20250701 → 5.9.0-dev.20250703
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/_tsc.js +1 -1
- package/lib/cs/diagnosticMessages.generated.json +2 -1
- package/lib/de/diagnosticMessages.generated.json +2 -1
- package/lib/es/diagnosticMessages.generated.json +2 -1
- package/lib/fr/diagnosticMessages.generated.json +2 -1
- package/lib/it/diagnosticMessages.generated.json +2 -1
- package/lib/ja/diagnosticMessages.generated.json +2 -1
- package/lib/ko/diagnosticMessages.generated.json +2 -1
- package/lib/lib.dom.d.ts +12689 -4227
- package/lib/lib.dom.iterable.d.ts +99 -21
- package/lib/lib.es2022.intl.d.ts +25 -1
- package/lib/lib.webworker.d.ts +3715 -1028
- package/lib/lib.webworker.iterable.d.ts +68 -15
- package/lib/pl/diagnosticMessages.generated.json +2 -1
- package/lib/pt-br/diagnosticMessages.generated.json +2 -1
- package/lib/ru/diagnosticMessages.generated.json +2 -1
- package/lib/tr/diagnosticMessages.generated.json +2 -1
- package/lib/typescript.js +4 -2
- package/lib/zh-cn/diagnosticMessages.generated.json +2 -1
- package/lib/zh-tw/diagnosticMessages.generated.json +2 -1
- package/package.json +2 -2
@@ -42,7 +42,11 @@ interface CSSUnparsedValue {
|
|
42
42
|
}
|
43
43
|
|
44
44
|
interface Cache {
|
45
|
-
/**
|
45
|
+
/**
|
46
|
+
* The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.
|
47
|
+
*
|
48
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
|
49
|
+
*/
|
46
50
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
47
51
|
}
|
48
52
|
|
@@ -56,6 +60,21 @@ interface CanvasPathDrawingStyles {
|
|
56
60
|
setLineDash(segments: Iterable<number>): void;
|
57
61
|
}
|
58
62
|
|
63
|
+
interface CookieStoreManager {
|
64
|
+
/**
|
65
|
+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
|
66
|
+
*
|
67
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
|
68
|
+
*/
|
69
|
+
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
70
|
+
/**
|
71
|
+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
|
72
|
+
*
|
73
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
|
74
|
+
*/
|
75
|
+
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
76
|
+
}
|
77
|
+
|
59
78
|
interface DOMStringList {
|
60
79
|
[Symbol.iterator](): ArrayIterator<string>;
|
61
80
|
}
|
@@ -97,7 +116,7 @@ interface Headers {
|
|
97
116
|
|
98
117
|
interface IDBDatabase {
|
99
118
|
/**
|
100
|
-
*
|
119
|
+
* The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.
|
101
120
|
*
|
102
121
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
103
122
|
*/
|
@@ -106,9 +125,7 @@ interface IDBDatabase {
|
|
106
125
|
|
107
126
|
interface IDBObjectStore {
|
108
127
|
/**
|
109
|
-
*
|
110
|
-
*
|
111
|
-
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
128
|
+
* The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.
|
112
129
|
*
|
113
130
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
114
131
|
*/
|
@@ -136,17 +153,33 @@ interface StylePropertyMapReadOnly {
|
|
136
153
|
}
|
137
154
|
|
138
155
|
interface SubtleCrypto {
|
139
|
-
/**
|
156
|
+
/**
|
157
|
+
* The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.
|
158
|
+
*
|
159
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
|
160
|
+
*/
|
140
161
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
141
|
-
/**
|
162
|
+
/**
|
163
|
+
* The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
|
164
|
+
*
|
165
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
166
|
+
*/
|
142
167
|
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
143
168
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
144
169
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
145
170
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
146
|
-
/**
|
171
|
+
/**
|
172
|
+
* The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
|
173
|
+
*
|
174
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
|
175
|
+
*/
|
147
176
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
148
177
|
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
149
|
-
/**
|
178
|
+
/**
|
179
|
+
* The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key.
|
180
|
+
*
|
181
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
|
182
|
+
*/
|
150
183
|
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
151
184
|
}
|
152
185
|
|
@@ -165,18 +198,38 @@ interface URLSearchParams {
|
|
165
198
|
}
|
166
199
|
|
167
200
|
interface WEBGL_draw_buffers {
|
168
|
-
/**
|
201
|
+
/**
|
202
|
+
* The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
|
203
|
+
*
|
204
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
|
205
|
+
*/
|
169
206
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
170
207
|
}
|
171
208
|
|
172
209
|
interface WEBGL_multi_draw {
|
173
|
-
/**
|
210
|
+
/**
|
211
|
+
* The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
212
|
+
*
|
213
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
|
214
|
+
*/
|
174
215
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
175
|
-
/**
|
216
|
+
/**
|
217
|
+
* The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
218
|
+
*
|
219
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
|
220
|
+
*/
|
176
221
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
177
|
-
/**
|
222
|
+
/**
|
223
|
+
* The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
224
|
+
*
|
225
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
|
226
|
+
*/
|
178
227
|
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
179
|
-
/**
|
228
|
+
/**
|
229
|
+
* The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
230
|
+
*
|
231
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
|
232
|
+
*/
|
180
233
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
181
234
|
}
|
182
235
|
|
@@ -192,7 +245,7 @@ interface WebGL2RenderingContextBase {
|
|
192
245
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
193
246
|
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
194
247
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
195
|
-
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>):
|
248
|
+
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;
|
196
249
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
197
250
|
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
198
251
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
@@ -203,7 +203,7 @@
|
|
203
203
|
"All_imports_in_import_declaration_are_unused_6192": "Wszystkie importy w deklaracji importu są nieużywane.",
|
204
204
|
"All_type_parameters_are_unused_6205": "Wszystkie parametry typu są nieużywane.",
|
205
205
|
"All_variables_are_unused_6199": "Wszystkie zmienne są nieużywane.",
|
206
|
-
"
|
206
|
+
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these__6600": "Zezwalaj plikom JavaScript na udział w programie. Użyj opcji „checkJS”, aby uzyskać błędy z tych plików.",
|
207
207
|
"Allow_accessing_UMD_globals_from_modules_6602": "Zezwalaj na dostęp do zmiennych globalnych UMD z modułów.",
|
208
208
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "Zezwalaj na domyślne importy z modułów bez domyślnego eksportu. To nie wpływa na emitowanie kodu, a tylko na sprawdzanie typów.",
|
209
209
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "Zezwalaj na elementy „import x from y”, gdy moduł nie ma domyślnej operacji eksportu.",
|
@@ -329,6 +329,7 @@
|
|
329
329
|
"Call_signature_return_types_0_and_1_are_incompatible_2202": "Zwracane typy sygnatur wywołania „{0}” i „{1}” są niezgodne.",
|
330
330
|
"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020": "Dla sygnatury wywołania bez adnotacji zwracanego typu niejawnie określono zwracany typ „any”.",
|
331
331
|
"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204": "Sygnatury wywołania bez argumentów mają niezgodne zwracane typy „{0}” i „{1}”.",
|
332
|
+
"Call_target_does_not_contain_any_signatures_2346": "Cel wywołania nie zawiera żadnych podpisów.",
|
332
333
|
"Can_only_convert_logical_AND_access_chains_95142": "Można konwertować tylko łańcuchy logiczne ORAZ łańcuchy dostępu",
|
333
334
|
"Can_only_convert_named_export_95164": "Można przekonwertować tylko nazwany eksport",
|
334
335
|
"Can_only_convert_property_with_modifier_95137": "Właściwość można skonwertować tylko za pomocą modyfikatora",
|
@@ -203,7 +203,7 @@
|
|
203
203
|
"All_imports_in_import_declaration_are_unused_6192": "Nenhuma das importações na declaração de importação está sendo utilizada.",
|
204
204
|
"All_type_parameters_are_unused_6205": "Todos os parâmetros de tipo são inutilizados.",
|
205
205
|
"All_variables_are_unused_6199": "Nenhuma das variáveis está sendo utilizada.",
|
206
|
-
"
|
206
|
+
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these__6600": "Permitir que arquivos JavaScript façam parte do seu programa. Use a opção \"checkJs\" para obter erros desses arquivos.",
|
207
207
|
"Allow_accessing_UMD_globals_from_modules_6602": "Permitir o acesso a UMD globais de módulos.",
|
208
208
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "Permita importações padrão de módulos sem exportação padrão. Isso não afeta a emissão do código, apenas a verificação de digitação.",
|
209
209
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "Permitir 'importar x de y' quando um módulo não tiver uma exportação padrão.",
|
@@ -329,6 +329,7 @@
|
|
329
329
|
"Call_signature_return_types_0_and_1_are_incompatible_2202": "Os tipos de retorno da assinatura de chamada '{0}' e '{1}' são incompatíveis.",
|
330
330
|
"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020": "Assinatura de chamada, que não tem a anotação de tipo de retorno, implicitamente tem um tipo de retorno 'any'.",
|
331
331
|
"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204": "Assinaturas de chamada sem argumentos têm tipos de retorno incompatíveis '{0}' e '{1}'.",
|
332
|
+
"Call_target_does_not_contain_any_signatures_2346": "O destino da chamada não contém nenhuma assinatura.",
|
332
333
|
"Can_only_convert_logical_AND_access_chains_95142": "Só é possível converter cadeias de acesso E lógicas",
|
333
334
|
"Can_only_convert_named_export_95164": "Só pode converter exportação nomeada",
|
334
335
|
"Can_only_convert_property_with_modifier_95137": "Só é possível converter a propriedade com o modificador",
|
@@ -203,7 +203,7 @@
|
|
203
203
|
"All_imports_in_import_declaration_are_unused_6192": "Ни один из импортов в объявлении импорта не используется.",
|
204
204
|
"All_type_parameters_are_unused_6205": "Ни один из параметров типа не используется.",
|
205
205
|
"All_variables_are_unused_6199": "Ни одна переменная не используется.",
|
206
|
-
"
|
206
|
+
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these__6600": "Разрешите файлам JavaScript быть частью программы. Используйте параметр \"checkJs\" для получения ошибок из этих файлов.",
|
207
207
|
"Allow_accessing_UMD_globals_from_modules_6602": "Разрешение обращения к глобальным значениям UMD из модулей.",
|
208
208
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "Разрешить импорт по умолчанию из модулей без экспорта по умолчанию. Это не повлияет на выведение кода — только на проверку типов.",
|
209
209
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "Разрешить \"импортировать x из y\", если модуль не имеет экспорта по умолчанию.",
|
@@ -329,6 +329,7 @@
|
|
329
329
|
"Call_signature_return_types_0_and_1_are_incompatible_2202": "Типы возвращаемых значений сигнатур вызовов \"{0}\" и \"{1}\" несовместимы.",
|
330
330
|
"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020": "Сигнатура вызова, у которой нет аннотации типа возвращаемого значения, неявно имеет тип возвращаемого значения any.",
|
331
331
|
"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204": "Сигнатуры вызова без аргументов имеют несовместимые типы возвращаемых значений \"{0}\" и \"{1}\".",
|
332
|
+
"Call_target_does_not_contain_any_signatures_2346": "Объект вызова не содержит сигнатуры.",
|
332
333
|
"Can_only_convert_logical_AND_access_chains_95142": "Можно преобразовывать только цепочки доступа с логическим И.",
|
333
334
|
"Can_only_convert_named_export_95164": "Можно преобразовать только именованный экспорт.",
|
334
335
|
"Can_only_convert_property_with_modifier_95137": "Можно только преобразовать свойство с модификатором",
|
@@ -203,7 +203,7 @@
|
|
203
203
|
"All_imports_in_import_declaration_are_unused_6192": "İçeri aktarma bildirimindeki hiçbir içeri aktarma kullanılmadı.",
|
204
204
|
"All_type_parameters_are_unused_6205": "Tüm tür parametreleri kullanılmıyor.",
|
205
205
|
"All_variables_are_unused_6199": "Hiçbir değişken kullanılmıyor.",
|
206
|
-
"
|
206
|
+
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these__6600": "JavaScript dosyalarının programınızın bir parçası olmasına izin verin. Bu dosyalardan hata almak için 'checkJs' seçeneğini kullanın.",
|
207
207
|
"Allow_accessing_UMD_globals_from_modules_6602": "Modüllerden UMD genel değişkenlerine erişmeye izin verin.",
|
208
208
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "Varsayılan dışarı aktarmaya sahip olmayan modüllerde varsayılan içeri aktarmalara izin verin. Bu işlem kod üretimini etkilemez, yalnızca tür denetimini etkiler.",
|
209
209
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "Bir modülün varsayılan dışarı aktarması olmadığında 'import x from y' öğesine izin verin.",
|
@@ -329,6 +329,7 @@
|
|
329
329
|
"Call_signature_return_types_0_and_1_are_incompatible_2202": "'{0}' ve '{1}' çağrı imzası dönüş türleri uyumsuz.",
|
330
330
|
"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020": "Dönüş türü ek açıklaması bulunmayan çağrı imzası, örtük olarak 'any' dönüş türüne sahip.",
|
331
331
|
"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204": "Bağımsız değişken içermeyen çağrı imzaları uyumsuz '{0}' ve '{1}' dönüş türlerine sahip.",
|
332
|
+
"Call_target_does_not_contain_any_signatures_2346": "Çağrı hedefi imza içermiyor.",
|
332
333
|
"Can_only_convert_logical_AND_access_chains_95142": "Yalnızca mantıksal zincirler VE erişim zincirleri dönüştürülebilir",
|
333
334
|
"Can_only_convert_named_export_95164": "Yalnızca adı belirtilen dışarı aktarma dönüştürülebilir",
|
334
335
|
"Can_only_convert_property_with_modifier_95137": "Yalnızca değiştirici içeren özellik dönüştürülebilir",
|
package/lib/typescript.js
CHANGED
@@ -2285,7 +2285,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
2285
2285
|
|
2286
2286
|
// src/compiler/corePublic.ts
|
2287
2287
|
var versionMajorMinor = "5.9";
|
2288
|
-
var version = `${versionMajorMinor}.0-dev.
|
2288
|
+
var version = `${versionMajorMinor}.0-dev.20250703`;
|
2289
2289
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
2290
2290
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
2291
2291
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
@@ -169201,6 +169201,7 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position,
|
|
169201
169201
|
if (firstAccessibleSymbolId && addToSeen(seenPropertySymbols, firstAccessibleSymbolId)) {
|
169202
169202
|
const index = symbols.length;
|
169203
169203
|
symbols.push(firstAccessibleSymbol);
|
169204
|
+
symbolToSortTextMap[getSymbolId(firstAccessibleSymbol)] = SortText.GlobalsOrKeywords;
|
169204
169205
|
const moduleSymbol = firstAccessibleSymbol.parent;
|
169205
169206
|
if (!moduleSymbol || !isExternalModuleSymbol(moduleSymbol) || typeChecker.tryGetMemberInModuleExportsAndProperties(firstAccessibleSymbol.name, moduleSymbol) !== firstAccessibleSymbol) {
|
169206
169207
|
symbolToOriginInfoMap[index] = { kind: getNullableSymbolOriginInfoKind(2 /* SymbolMemberNoExport */) };
|
@@ -176938,7 +176939,7 @@ function collectElements(sourceFile, cancellationToken) {
|
|
176938
176939
|
function addNodeOutliningSpans(sourceFile, cancellationToken, out) {
|
176939
176940
|
let depthRemaining = 40;
|
176940
176941
|
let current = 0;
|
176941
|
-
const statements =
|
176942
|
+
const statements = sourceFile.statements;
|
176942
176943
|
const n = statements.length;
|
176943
176944
|
while (current < n) {
|
176944
176945
|
while (current < n && !isAnyImportSyntax(statements[current])) {
|
@@ -176956,6 +176957,7 @@ function addNodeOutliningSpans(sourceFile, cancellationToken, out) {
|
|
176956
176957
|
out.push(createOutliningSpanFromBounds(findChildOfKind(statements[firstImport], 102 /* ImportKeyword */, sourceFile).getStart(sourceFile), statements[lastImport].getEnd(), "imports" /* Imports */));
|
176957
176958
|
}
|
176958
176959
|
}
|
176960
|
+
visitNode3(sourceFile.endOfFileToken);
|
176959
176961
|
function visitNode3(n2) {
|
176960
176962
|
var _a;
|
176961
176963
|
if (depthRemaining === 0) return;
|
@@ -203,7 +203,7 @@
|
|
203
203
|
"All_imports_in_import_declaration_are_unused_6192": "导入声明中的所有导入都未使用。",
|
204
204
|
"All_type_parameters_are_unused_6205": "未使用任何类型参数。",
|
205
205
|
"All_variables_are_unused_6199": "所有变量均未使用。",
|
206
|
-
"
|
206
|
+
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these__6600": "允许 JavaScript 文件成为程序的一部分。使用 ''checkJs'' 选项来获取这些文件中的错误。",
|
207
207
|
"Allow_accessing_UMD_globals_from_modules_6602": "允许从模块访问 UMD 变量全局。",
|
208
208
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "允许从不带默认输出的模块中默认输入。这不会影响代码发出,只是类型检查。",
|
209
209
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "当模块没有默认导出时,允许“从 y 导入 x”。",
|
@@ -329,6 +329,7 @@
|
|
329
329
|
"Call_signature_return_types_0_and_1_are_incompatible_2202": "调用签名返回类型 \"{0}\" 和 \"{1}\" 不兼容。",
|
330
330
|
"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020": "缺少返回类型批注的调用签名隐式具有返回类型 \"any\"。",
|
331
331
|
"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204": "没有参数的调用签名具有不兼容的返回类型 \"{0}\" 和 \"{1}\"。",
|
332
|
+
"Call_target_does_not_contain_any_signatures_2346": "调用目标不包含任何签名。",
|
332
333
|
"Can_only_convert_logical_AND_access_chains_95142": "仅可转换逻辑 AND 访问链",
|
333
334
|
"Can_only_convert_named_export_95164": "只能转换已命名的导出",
|
334
335
|
"Can_only_convert_property_with_modifier_95137": "只能转换带修饰符的属性",
|
@@ -203,7 +203,7 @@
|
|
203
203
|
"All_imports_in_import_declaration_are_unused_6192": "匯入宣告中的所有匯入皆未使用。",
|
204
204
|
"All_type_parameters_are_unused_6205": "未使用任何型別參數。",
|
205
205
|
"All_variables_are_unused_6199": "所有變數都未使用。",
|
206
|
-
"
|
206
|
+
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these__6600": "允許 JavaScript 檔案成為您程式的一部分。使用 'checkJs' 選項可從這些檔案取得錯誤。",
|
207
207
|
"Allow_accessing_UMD_globals_from_modules_6602": "允許從模組存取 UMD 全域。",
|
208
208
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "允許從沒有預設匯出的模組進行預設匯入。這不會影響程式碼發出,僅為類型檢查。",
|
209
209
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "當模組沒有預設匯出時,允許 'import x from y'。",
|
@@ -329,6 +329,7 @@
|
|
329
329
|
"Call_signature_return_types_0_and_1_are_incompatible_2202": "呼叫簽章傳回型別 '{0}' 與 '{1}' 不相容。",
|
330
330
|
"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020": "缺少傳回型別註解的呼叫簽章隱含了 'any' 傳回型別。",
|
331
331
|
"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204": "無引數呼叫簽章的傳回型別 '{0}' 與 '{1}' 不相容。",
|
332
|
+
"Call_target_does_not_contain_any_signatures_2346": "呼叫目標未包含任何特徵標記。",
|
332
333
|
"Can_only_convert_logical_AND_access_chains_95142": "只可轉換邏輯 AND 存取鏈結",
|
333
334
|
"Can_only_convert_named_export_95164": "只能轉換具名匯出",
|
334
335
|
"Can_only_convert_property_with_modifier_95137": "只能轉換具有修飾元的屬性",
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "typescript",
|
3
3
|
"author": "Microsoft Corp.",
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
5
|
-
"version": "5.9.0-dev.
|
5
|
+
"version": "5.9.0-dev.20250703",
|
6
6
|
"license": "Apache-2.0",
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
8
8
|
"keywords": [
|
@@ -116,5 +116,5 @@
|
|
116
116
|
"node": "20.1.0",
|
117
117
|
"npm": "8.19.4"
|
118
118
|
},
|
119
|
-
"gitHead": "
|
119
|
+
"gitHead": "833a8d492c728d606454865e8c0fee84842f9f10"
|
120
120
|
}
|