typescript 4.5.5 → 4.6.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/lib/cs/diagnosticMessages.generated.json +23 -10
- package/lib/de/diagnosticMessages.generated.json +23 -10
- package/lib/es/diagnosticMessages.generated.json +23 -10
- package/lib/fr/diagnosticMessages.generated.json +23 -10
- package/lib/it/diagnosticMessages.generated.json +23 -10
- package/lib/ja/diagnosticMessages.generated.json +23 -10
- package/lib/ko/diagnosticMessages.generated.json +23 -10
- package/lib/lib.dom.d.ts +216 -58
- package/lib/lib.dom.iterable.d.ts +11 -0
- package/lib/lib.es2015.iterable.d.ts +2 -1
- package/lib/lib.es2020.intl.d.ts +8 -3
- package/lib/lib.es2022.array.d.ts +123 -0
- package/lib/lib.es2022.d.ts +25 -0
- package/lib/lib.es2022.error.d.ts +75 -0
- package/lib/lib.es2022.full.d.ts +25 -0
- package/lib/lib.es2022.object.d.ts +28 -0
- package/lib/lib.es2022.string.d.ts +27 -0
- package/lib/lib.es5.d.ts +1 -3
- package/lib/lib.esnext.d.ts +1 -1
- package/lib/lib.webworker.d.ts +127 -16
- package/lib/lib.webworker.iterable.d.ts +7 -0
- package/lib/pl/diagnosticMessages.generated.json +23 -10
- package/lib/protocol.d.ts +2 -0
- package/lib/pt-br/diagnosticMessages.generated.json +23 -10
- package/lib/ru/diagnosticMessages.generated.json +23 -10
- package/lib/tr/diagnosticMessages.generated.json +23 -10
- package/lib/tsc.js +2474 -1549
- package/lib/tsserver.js +4450 -2573
- package/lib/tsserverlibrary.d.ts +32 -16
- package/lib/tsserverlibrary.js +4421 -2572
- package/lib/typescript.d.ts +29 -16
- package/lib/typescript.js +4343 -2544
- package/lib/typescriptServices.d.ts +29 -16
- package/lib/typescriptServices.js +4343 -2544
- package/lib/typingsInstaller.js +3132 -2049
- package/lib/zh-cn/diagnosticMessages.generated.json +23 -10
- package/lib/zh-tw/diagnosticMessages.generated.json +23 -10
- package/package.json +3 -2
package/lib/lib.webworker.d.ts
CHANGED
|
@@ -90,8 +90,8 @@ interface CloseEventInit extends EventInit {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
interface CryptoKeyPair {
|
|
93
|
-
privateKey
|
|
94
|
-
publicKey
|
|
93
|
+
privateKey: CryptoKey;
|
|
94
|
+
publicKey: CryptoKey;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
interface CustomEventInit<T = any> extends EventInit {
|
|
@@ -210,6 +210,18 @@ interface FilePropertyBag extends BlobPropertyBag {
|
|
|
210
210
|
lastModified?: number;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
interface FileSystemGetDirectoryOptions {
|
|
214
|
+
create?: boolean;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
interface FileSystemGetFileOptions {
|
|
218
|
+
create?: boolean;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
interface FileSystemRemoveOptions {
|
|
222
|
+
recursive?: boolean;
|
|
223
|
+
}
|
|
224
|
+
|
|
213
225
|
interface FontFaceDescriptors {
|
|
214
226
|
display?: string;
|
|
215
227
|
featureSettings?: string;
|
|
@@ -310,6 +322,24 @@ interface KeyAlgorithm {
|
|
|
310
322
|
name: string;
|
|
311
323
|
}
|
|
312
324
|
|
|
325
|
+
interface LockInfo {
|
|
326
|
+
clientId?: string;
|
|
327
|
+
mode?: LockMode;
|
|
328
|
+
name?: string;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
interface LockManagerSnapshot {
|
|
332
|
+
held?: LockInfo[];
|
|
333
|
+
pending?: LockInfo[];
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
interface LockOptions {
|
|
337
|
+
ifAvailable?: boolean;
|
|
338
|
+
mode?: LockMode;
|
|
339
|
+
signal?: AbortSignal;
|
|
340
|
+
steal?: boolean;
|
|
341
|
+
}
|
|
342
|
+
|
|
313
343
|
interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
|
|
314
344
|
configuration?: MediaDecodingConfiguration;
|
|
315
345
|
}
|
|
@@ -373,7 +403,7 @@ interface NotificationOptions {
|
|
|
373
403
|
requireInteraction?: boolean;
|
|
374
404
|
silent?: boolean;
|
|
375
405
|
tag?: string;
|
|
376
|
-
timestamp?:
|
|
406
|
+
timestamp?: EpochTimeStamp;
|
|
377
407
|
vibrate?: VibratePattern;
|
|
378
408
|
}
|
|
379
409
|
|
|
@@ -422,7 +452,7 @@ interface PushEventInit extends ExtendableEventInit {
|
|
|
422
452
|
|
|
423
453
|
interface PushSubscriptionJSON {
|
|
424
454
|
endpoint?: string;
|
|
425
|
-
expirationTime?:
|
|
455
|
+
expirationTime?: EpochTimeStamp | null;
|
|
426
456
|
keys?: Record<string, string>;
|
|
427
457
|
}
|
|
428
458
|
|
|
@@ -578,7 +608,7 @@ interface StreamPipeOptions {
|
|
|
578
608
|
}
|
|
579
609
|
|
|
580
610
|
interface StructuredSerializeOptions {
|
|
581
|
-
transfer?:
|
|
611
|
+
transfer?: Transferable[];
|
|
582
612
|
}
|
|
583
613
|
|
|
584
614
|
interface TextDecodeOptions {
|
|
@@ -665,7 +695,7 @@ interface AbortController {
|
|
|
665
695
|
/** Returns the AbortSignal object associated with this object. */
|
|
666
696
|
readonly signal: AbortSignal;
|
|
667
697
|
/** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
|
|
668
|
-
abort(): void;
|
|
698
|
+
abort(reason?: any): void;
|
|
669
699
|
}
|
|
670
700
|
|
|
671
701
|
declare var AbortController: {
|
|
@@ -905,6 +935,8 @@ interface Crypto {
|
|
|
905
935
|
/** Available only in secure contexts. */
|
|
906
936
|
readonly subtle: SubtleCrypto;
|
|
907
937
|
getRandomValues<T extends ArrayBufferView | null>(array: T): T;
|
|
938
|
+
/** Available only in secure contexts. */
|
|
939
|
+
randomUUID(): string;
|
|
908
940
|
}
|
|
909
941
|
|
|
910
942
|
declare var Crypto: {
|
|
@@ -1358,8 +1390,10 @@ interface EventSource extends EventTarget {
|
|
|
1358
1390
|
readonly CONNECTING: number;
|
|
1359
1391
|
readonly OPEN: number;
|
|
1360
1392
|
addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1393
|
+
addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1361
1394
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1362
1395
|
removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1396
|
+
removeEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | EventListenerOptions): void;
|
|
1363
1397
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1364
1398
|
}
|
|
1365
1399
|
|
|
@@ -1518,6 +1552,43 @@ declare var FileReaderSync: {
|
|
|
1518
1552
|
new(): FileReaderSync;
|
|
1519
1553
|
};
|
|
1520
1554
|
|
|
1555
|
+
/** Available only in secure contexts. */
|
|
1556
|
+
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
1557
|
+
readonly kind: "directory";
|
|
1558
|
+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
1559
|
+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
1560
|
+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
1561
|
+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
declare var FileSystemDirectoryHandle: {
|
|
1565
|
+
prototype: FileSystemDirectoryHandle;
|
|
1566
|
+
new(): FileSystemDirectoryHandle;
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
/** Available only in secure contexts. */
|
|
1570
|
+
interface FileSystemFileHandle extends FileSystemHandle {
|
|
1571
|
+
readonly kind: "file";
|
|
1572
|
+
getFile(): Promise<File>;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
declare var FileSystemFileHandle: {
|
|
1576
|
+
prototype: FileSystemFileHandle;
|
|
1577
|
+
new(): FileSystemFileHandle;
|
|
1578
|
+
};
|
|
1579
|
+
|
|
1580
|
+
/** Available only in secure contexts. */
|
|
1581
|
+
interface FileSystemHandle {
|
|
1582
|
+
readonly kind: FileSystemHandleKind;
|
|
1583
|
+
readonly name: string;
|
|
1584
|
+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
declare var FileSystemHandle: {
|
|
1588
|
+
prototype: FileSystemHandle;
|
|
1589
|
+
new(): FileSystemHandle;
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1521
1592
|
interface FontFace {
|
|
1522
1593
|
ascentOverride: string;
|
|
1523
1594
|
descentOverride: string;
|
|
@@ -1981,6 +2052,7 @@ interface IDBTransactionEventMap {
|
|
|
1981
2052
|
interface IDBTransaction extends EventTarget {
|
|
1982
2053
|
/** Returns the transaction's connection. */
|
|
1983
2054
|
readonly db: IDBDatabase;
|
|
2055
|
+
readonly durability: IDBTransactionDurability;
|
|
1984
2056
|
/** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
|
|
1985
2057
|
readonly error: DOMException | null;
|
|
1986
2058
|
/** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
|
|
@@ -2061,6 +2133,29 @@ interface KHR_parallel_shader_compile {
|
|
|
2061
2133
|
readonly COMPLETION_STATUS_KHR: GLenum;
|
|
2062
2134
|
}
|
|
2063
2135
|
|
|
2136
|
+
/** Available only in secure contexts. */
|
|
2137
|
+
interface Lock {
|
|
2138
|
+
readonly mode: LockMode;
|
|
2139
|
+
readonly name: string;
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
declare var Lock: {
|
|
2143
|
+
prototype: Lock;
|
|
2144
|
+
new(): Lock;
|
|
2145
|
+
};
|
|
2146
|
+
|
|
2147
|
+
/** Available only in secure contexts. */
|
|
2148
|
+
interface LockManager {
|
|
2149
|
+
query(): Promise<LockManagerSnapshot>;
|
|
2150
|
+
request(name: string, callback: LockGrantedCallback): Promise<any>;
|
|
2151
|
+
request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
declare var LockManager: {
|
|
2155
|
+
prototype: LockManager;
|
|
2156
|
+
new(): LockManager;
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2064
2159
|
interface MediaCapabilities {
|
|
2065
2160
|
decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;
|
|
2066
2161
|
encodingInfo(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>;
|
|
@@ -2481,7 +2576,7 @@ declare var PushEvent: {
|
|
|
2481
2576
|
*/
|
|
2482
2577
|
interface PushManager {
|
|
2483
2578
|
getSubscription(): Promise<PushSubscription | null>;
|
|
2484
|
-
permissionState(options?: PushSubscriptionOptionsInit): Promise<
|
|
2579
|
+
permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;
|
|
2485
2580
|
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
|
|
2486
2581
|
}
|
|
2487
2582
|
|
|
@@ -2798,6 +2893,7 @@ declare var SharedWorkerGlobalScope: {
|
|
|
2798
2893
|
/** Available only in secure contexts. */
|
|
2799
2894
|
interface StorageManager {
|
|
2800
2895
|
estimate(): Promise<StorageEstimate>;
|
|
2896
|
+
getDirectory(): Promise<FileSystemDirectoryHandle>;
|
|
2801
2897
|
persisted(): Promise<boolean>;
|
|
2802
2898
|
}
|
|
2803
2899
|
|
|
@@ -3134,6 +3230,13 @@ interface WEBGL_lose_context {
|
|
|
3134
3230
|
restoreContext(): void;
|
|
3135
3231
|
}
|
|
3136
3232
|
|
|
3233
|
+
interface WEBGL_multi_draw {
|
|
3234
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
3235
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
|
|
3236
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
3237
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3137
3240
|
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
|
|
3138
3241
|
}
|
|
3139
3242
|
|
|
@@ -5075,7 +5178,7 @@ declare var WebSocket: {
|
|
|
5075
5178
|
/** This ServiceWorker API interface represents the scope of a service worker client that is a document in a browser context, controlled by an active worker. The service worker client independently selects and uses a service worker for its own loading and sub-resources. */
|
|
5076
5179
|
interface WindowClient extends Client {
|
|
5077
5180
|
readonly focused: boolean;
|
|
5078
|
-
readonly visibilityState:
|
|
5181
|
+
readonly visibilityState: DocumentVisibilityState;
|
|
5079
5182
|
focus(): Promise<WindowClient>;
|
|
5080
5183
|
navigate(url: string | URL): Promise<WindowClient | null>;
|
|
5081
5184
|
}
|
|
@@ -5096,12 +5199,13 @@ interface WindowOrWorkerGlobalScope {
|
|
|
5096
5199
|
readonly performance: Performance;
|
|
5097
5200
|
atob(data: string): string;
|
|
5098
5201
|
btoa(data: string): string;
|
|
5099
|
-
clearInterval(
|
|
5100
|
-
clearTimeout(
|
|
5202
|
+
clearInterval(id?: number): void;
|
|
5203
|
+
clearTimeout(id?: number): void;
|
|
5101
5204
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
5102
5205
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
5103
5206
|
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
5104
5207
|
queueMicrotask(callback: VoidFunction): void;
|
|
5208
|
+
reportError(e: any): void;
|
|
5105
5209
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
5106
5210
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
5107
5211
|
}
|
|
@@ -5518,7 +5622,7 @@ declare namespace WebAssembly {
|
|
|
5518
5622
|
|
|
5519
5623
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
|
5520
5624
|
type TableKind = "anyfunc" | "externref";
|
|
5521
|
-
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64";
|
|
5625
|
+
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128";
|
|
5522
5626
|
type ExportValue = Function | Global | Memory | Table;
|
|
5523
5627
|
type Exports = Record<string, ExportValue>;
|
|
5524
5628
|
type ImportValue = ExportValue | number;
|
|
@@ -5536,6 +5640,10 @@ interface FrameRequestCallback {
|
|
|
5536
5640
|
(time: DOMHighResTimeStamp): void;
|
|
5537
5641
|
}
|
|
5538
5642
|
|
|
5643
|
+
interface LockGrantedCallback {
|
|
5644
|
+
(lock: Lock | null): any;
|
|
5645
|
+
}
|
|
5646
|
+
|
|
5539
5647
|
interface OnErrorEventHandlerNonNull {
|
|
5540
5648
|
(event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error): any;
|
|
5541
5649
|
}
|
|
@@ -5630,12 +5738,13 @@ declare var origin: string;
|
|
|
5630
5738
|
declare var performance: Performance;
|
|
5631
5739
|
declare function atob(data: string): string;
|
|
5632
5740
|
declare function btoa(data: string): string;
|
|
5633
|
-
declare function clearInterval(
|
|
5634
|
-
declare function clearTimeout(
|
|
5741
|
+
declare function clearInterval(id?: number): void;
|
|
5742
|
+
declare function clearTimeout(id?: number): void;
|
|
5635
5743
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
5636
5744
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
5637
5745
|
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
5638
5746
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
5747
|
+
declare function reportError(e: any): void;
|
|
5639
5748
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
5640
5749
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
5641
5750
|
declare function cancelAnimationFrame(handle: number): void;
|
|
@@ -5652,7 +5761,7 @@ type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
|
5652
5761
|
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
5653
5762
|
type CanvasImageSource = ImageBitmap | OffscreenCanvas;
|
|
5654
5763
|
type DOMHighResTimeStamp = number;
|
|
5655
|
-
type
|
|
5764
|
+
type EpochTimeStamp = number;
|
|
5656
5765
|
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|
|
5657
5766
|
type Float32List = Float32Array | GLfloat[];
|
|
5658
5767
|
type FormDataEntryValue = File | string;
|
|
@@ -5693,18 +5802,22 @@ type ClientTypes = "all" | "sharedworker" | "window" | "worker";
|
|
|
5693
5802
|
type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
5694
5803
|
type ColorSpaceConversion = "default" | "none";
|
|
5695
5804
|
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
|
|
5805
|
+
type DocumentVisibilityState = "hidden" | "visible";
|
|
5696
5806
|
type EndingType = "native" | "transparent";
|
|
5807
|
+
type FileSystemHandleKind = "directory" | "file";
|
|
5697
5808
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
5698
5809
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
5699
5810
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
5700
5811
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
5701
5812
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
5702
5813
|
type IDBRequestReadyState = "done" | "pending";
|
|
5814
|
+
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
5703
5815
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
5704
5816
|
type ImageOrientation = "flipY" | "none";
|
|
5705
5817
|
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
|
|
5706
5818
|
type KeyType = "private" | "public" | "secret";
|
|
5707
5819
|
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
|
|
5820
|
+
type LockMode = "exclusive" | "shared";
|
|
5708
5821
|
type MediaDecodingType = "file" | "media-source" | "webrtc";
|
|
5709
5822
|
type MediaEncodingType = "record" | "webrtc";
|
|
5710
5823
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
@@ -5714,7 +5827,6 @@ type PermissionState = "denied" | "granted" | "prompt";
|
|
|
5714
5827
|
type PredefinedColorSpace = "display-p3" | "srgb";
|
|
5715
5828
|
type PremultiplyAlpha = "default" | "none" | "premultiply";
|
|
5716
5829
|
type PushEncryptionKeyName = "auth" | "p256dh";
|
|
5717
|
-
type PushPermissionState = "denied" | "granted" | "prompt";
|
|
5718
5830
|
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
5719
5831
|
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
|
|
5720
5832
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
@@ -5727,7 +5839,6 @@ type SecurityPolicyViolationEventDisposition = "enforce" | "report";
|
|
|
5727
5839
|
type ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";
|
|
5728
5840
|
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
|
|
5729
5841
|
type TransferFunction = "hlg" | "pq" | "srgb";
|
|
5730
|
-
type VisibilityState = "hidden" | "visible";
|
|
5731
5842
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
5732
5843
|
type WorkerType = "classic" | "module";
|
|
5733
5844
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|
|
@@ -100,6 +100,13 @@ interface WEBGL_draw_buffers {
|
|
|
100
100
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
interface WEBGL_multi_draw {
|
|
104
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
105
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
|
106
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
107
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
108
|
+
}
|
|
109
|
+
|
|
103
110
|
interface WebGL2RenderingContextBase {
|
|
104
111
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
|
105
112
|
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
|
@@ -89,7 +89,8 @@
|
|
|
89
89
|
"A_set_accessor_must_have_exactly_one_parameter_1049": "Metoda dostępu „set” musi mieć dokładnie jeden parametr.",
|
|
90
90
|
"A_set_accessor_parameter_cannot_have_an_initializer_1052": "Parametr metody dostępu „set” nie może mieć inicjatora.",
|
|
91
91
|
"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556": "Argument nadlewki musi mieć typ krotki lub być przekazywany do parametru Rest.",
|
|
92
|
-
"
|
|
92
|
+
"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401": "Wywołanie „super” musi być instrukcją na poziomie głównym w konstruktorze klasy pochodnej, która zawiera zainicjowane właściwości, właściwości parametrów lub identyfikatory prywatne.",
|
|
93
|
+
"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376": "Wywołanie „super” musi być pierwszą instrukcją w konstruktorze, aby odwoływać się do „super” lub „this”, gdy klasa pochodna zawiera zainicjalizowane właściwości, właściwości parametrów lub prywatne identyfikatory.",
|
|
93
94
|
"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518": "Ochrona typu oparta na elemencie „this” nie jest zgodna z ochroną typu opartą na parametrze.",
|
|
94
95
|
"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526": "Typ „this” jest dostępny tylko w niestatycznej składowej klasy lub interfejsu.",
|
|
95
96
|
"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054": "Plik „tsconfig.json” jest już zdefiniowany w: „{0}”.",
|
|
@@ -109,7 +110,6 @@
|
|
|
109
110
|
"Accessibility_modifier_already_seen_1028": "Napotkano już modyfikator dostępności.",
|
|
110
111
|
"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056": "Metody dostępu są dostępne tylko wtedy, gdy jest używany język ECMAScript 5 lub nowszy.",
|
|
111
112
|
"Accessors_must_both_be_abstract_or_non_abstract_2676": "Obie metody dostępu muszą być abstrakcyjne lub nieabstrakcyjne.",
|
|
112
|
-
"Add_0_to_existing_import_declaration_from_1_90015": "Dodaj element „{0}” do istniejącej deklaracji importu z elementu „{1}”",
|
|
113
113
|
"Add_0_to_unresolved_variable_90008": "Dodaj „{0}.” do nierozpoznanej zmiennej",
|
|
114
114
|
"Add_a_return_statement_95111": "Dodaj instrukcję return",
|
|
115
115
|
"Add_all_missing_async_modifiers_95041": "Dodaj wszystkie brakujące modyfikatory „async”",
|
|
@@ -129,10 +129,10 @@
|
|
|
129
129
|
"Add_braces_to_arrow_function_95059": "Dodaj nawiasy klamrowe do funkcji strzałki",
|
|
130
130
|
"Add_const_to_all_unresolved_variables_95082": "Dodaj element „const” do wszystkich nierozpoznanych zmiennych",
|
|
131
131
|
"Add_const_to_unresolved_variable_95081": "Dodaj element „const” do nierozpoznanej zmiennej",
|
|
132
|
-
"Add_default_import_0_to_existing_import_declaration_from_1_90033": "Dodaj domyślny import „{0}” do istniejącej deklaracji importu z „{1}”",
|
|
133
132
|
"Add_definite_assignment_assertion_to_property_0_95020": "Dodaj asercję określonego przypisania do właściwości „{0}”",
|
|
134
133
|
"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028": "Dodaj asercję określonego przypisania do wszystkich niezainicjowanych właściwości",
|
|
135
134
|
"Add_export_to_make_this_file_into_a_module_95097": "Dodaj element „export {}”, aby przekształcić ten plik w moduł",
|
|
135
|
+
"Add_import_from_0_90057": "Dodaj import z „{0}”",
|
|
136
136
|
"Add_index_signature_for_property_0_90017": "Dodaj sygnaturę indeksu dla właściwości „{0}”",
|
|
137
137
|
"Add_initializer_to_property_0_95019": "Dodaj inicjator do właściwości „{0}”",
|
|
138
138
|
"Add_initializers_to_all_uninitialized_properties_95027": "Dodaj inicjatory do wszystkich niezainicjowanych właściwości",
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"An_iterator_must_have_a_next_method_2489": "Iterator musi zawierać metodę „next()”.",
|
|
228
228
|
"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017": "W przypadku używania dyrektywy pragma @jsx z fragmentami JSX jest wymagana dyrektywa pragma @jsxFrag.",
|
|
229
229
|
"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118": "Literał obiektu nie może mieć wielu metod dostępu pobierania/ustawiania o takiej samej nazwie.",
|
|
230
|
-
"
|
|
230
|
+
"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117": "Literał obiektu nie może mieć wielu właściwości o tej samej nazwie.",
|
|
231
231
|
"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119": "Literał obiektu nie może mieć właściwości i metody dostępu o takiej samej nazwie.",
|
|
232
232
|
"An_object_member_cannot_be_declared_optional_1162": "Składowa obiektu nie może być zadeklarowana jako opcjonalna.",
|
|
233
233
|
"An_optional_chain_cannot_contain_private_identifiers_18030": "Opcjonalny łańcuch nie może zawierać identyfikatorów prywatnych.",
|
|
@@ -314,6 +314,7 @@
|
|
|
314
314
|
"Cannot_find_name_0_Did_you_mean_1_2552": "Nie można znaleźć nazwy „{0}”. Czy chodziło Ci o „{1}”?",
|
|
315
315
|
"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "Nie można znaleźć nazwy „{0}”. Czy chodziło o składową wystąpienia „this.{0}”?",
|
|
316
316
|
"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662": "Nie można znaleźć nazwy „{0}”. Czy chodziło o statyczną składową „{1}.{0}”?",
|
|
317
|
+
"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311": "Nie można odnaleźć nazwy \"{0}\". Czy chodziło Ci o napisanie tego w funkcji asynchronicznej?",
|
|
317
318
|
"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583": "Nie można odnaleźć nazwy \"{0}\". Czy chcesz zmienić bibliotekę docelową? Spróbuj zmienić opcję kompilatora \"lib\" na wersję \"{1}\" lub nowszą.",
|
|
318
319
|
"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584": "Nie można odnaleźć nazwy \"{0}\". Czy chcesz zmienić bibliotekę docelową? Spróbuj zmienić opcję kompilatora \"lib\", aby uwzględnić element \"dom\".",
|
|
319
320
|
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582": "Nie można odnaleźć nazwy „{0}”. Czy chcesz zainstalować definicje typów dla modułu uruchamiającego testy? Spróbuj użyć polecenia „npm i --save-dev @types/jest” lub „npm i --save-dev @types/mocha”.",
|
|
@@ -387,6 +388,7 @@
|
|
|
387
388
|
"Compiler_option_0_expects_an_argument_6044": "Opcja kompilatora „{0}” oczekuje argumentu.",
|
|
388
389
|
"Compiler_option_0_may_not_be_used_with_build_5094": "Opcja kompilatora \"--{0}\" nie może być używana z parametrem \"--build\".",
|
|
389
390
|
"Compiler_option_0_may_only_be_used_with_build_5093": "Opcję kompilatora \"--{0}\" można używać tylko z parametrem \"--build\".",
|
|
391
|
+
"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124": "Opcja kompilatora \"{0}\" wartości '{1}' jest niestabilna. Użyj nocnego TypeScript, aby wyciszyć ten błąd. Spróbuj zaktualizować za pomocą polecenia „npm install -D typescript@next”.",
|
|
390
392
|
"Compiler_option_0_requires_a_value_of_type_1_5024": "Opcja kompilatora „{0}” wymaga wartości typu {1}.",
|
|
391
393
|
"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027": "Kompilator rezerwuje nazwę „{0}” podczas emitowania identyfikatora prywatnego na niższy poziom.",
|
|
392
394
|
"Compiles_the_TypeScript_project_located_at_the_specified_path_6927": "Kompiluje projekt języka TypeScript znajdujący się w określonej ścieżce.",
|
|
@@ -433,6 +435,7 @@
|
|
|
433
435
|
"Convert_function_to_an_ES2015_class_95001": "Konwertuj funkcję na klasę ES2015",
|
|
434
436
|
"Convert_invalid_character_to_its_html_entity_code_95100": "Konwertuj nieprawidłowy znak na jego kod jednostki html",
|
|
435
437
|
"Convert_named_export_to_default_export_95062": "Konwertuj nazwany eksport na eksport domyślny",
|
|
438
|
+
"Convert_named_imports_to_default_import_95170": "Konwertuj nazwane importy na import domyślny",
|
|
436
439
|
"Convert_named_imports_to_namespace_import_95057": "Konwertuj importy nazwane na import przestrzeni nazw",
|
|
437
440
|
"Convert_namespace_import_to_named_imports_95056": "Konwertuj import przestrzeni nazw na importy nazwane",
|
|
438
441
|
"Convert_overload_list_to_single_signature_95118": "Konwertuj listę przeciążeń na pojedynczą sygnaturę",
|
|
@@ -565,7 +568,7 @@
|
|
|
565
568
|
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "Specyfikator dynamicznego importowania musi być typu „string”, ale określono typ „{0}”.",
|
|
566
569
|
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323": "Dynamiczne importy są obsługiwane tylko wtedy, gdy flaga „--module” jest ustawiona na „es2020”, „es2022”, „esnext”, „commonjs”, „amd”, „system”, „umd”, „node12” lub „nodenext”.",
|
|
567
570
|
"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450": "Importy dynamiczne akceptują jako argumenty tylko specyfikator modułu i asercję opcjonalną",
|
|
568
|
-
"
|
|
571
|
+
"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324": "Importy dynamiczne obsługują tylko drugi argument, gdy opcja „--module” jest ustawiona na wartość „esnext” lub „nodenext”.",
|
|
569
572
|
"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762": "Każdy element członkowski typu unii „{0}” ma sygnatury konstrukcji, ale żadne z tych sygnatur nie są ze sobą zgodne.",
|
|
570
573
|
"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758": "Każdy element członkowski typu unii „{0}” ma sygnatury, ale żadne z tych sygnatur nie są ze sobą zgodne.",
|
|
571
574
|
"Editor_Support_6249": "Pomoc techniczna edytora",
|
|
@@ -623,6 +626,7 @@
|
|
|
623
626
|
"Enum_member_must_have_initializer_1061": "Składowa wyliczenia musi mieć inicjator.",
|
|
624
627
|
"Enum_name_cannot_be_0_2431": "Wyliczenie nie może mieć nazwy „{0}”.",
|
|
625
628
|
"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535": "Typ wyliczenia „{0}” ma składowe z inicjatorami niebędącymi literałami.",
|
|
629
|
+
"Errors_Files_6041": "Pliki z błędami",
|
|
626
630
|
"Examples_Colon_0_6026": "Przykłady: {0}",
|
|
627
631
|
"Excessive_stack_depth_comparing_types_0_and_1_2321": "Nadmierna głębokość stosu podczas porównywania typów „{0}” i „{1}”.",
|
|
628
632
|
"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027": "Oczekiwano argumentów typu {0}-{1}; podaj je z tagiem „@extends”.",
|
|
@@ -708,8 +712,11 @@
|
|
|
708
712
|
"For_await_loops_cannot_be_used_inside_a_class_static_block_18038": "Pętli \"For await\" nie można używać wewnątrz bloku statycznego klasy.",
|
|
709
713
|
"Found_0_errors_6217": "Znaleziono błędy: {0}.",
|
|
710
714
|
"Found_0_errors_Watching_for_file_changes_6194": "Znalezione błędy: {0}. Obserwowanie zmian plików.",
|
|
715
|
+
"Found_0_errors_in_1_files_6261": "Znaleziono błędy {0} w plikach {1}.",
|
|
716
|
+
"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260": "Znaleziono błędy {0} w tym samym pliku, zaczynając od: {1}",
|
|
711
717
|
"Found_1_error_6216": "Znaleziono 1 błąd.",
|
|
712
718
|
"Found_1_error_Watching_for_file_changes_6193": "Znaleziono 1 błąd. Obserwowanie zmian plików.",
|
|
719
|
+
"Found_1_error_in_1_6259": "Znaleziono 1 błąd w {1}",
|
|
713
720
|
"Found_package_json_at_0_6099": "Znaleziono plik „package.json” w lokalizacji „{0}”.",
|
|
714
721
|
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250": "Deklaracje funkcji nie są dozwolone wewnątrz bloków w trybie z ograniczeniami, jeśli elementem docelowym jest „ES3” lub „ES5”.",
|
|
715
722
|
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251": "Deklaracje funkcji nie są dozwolone wewnątrz bloków w trybie z ograniczeniami, jeśli elementem docelowym jest „ES3” lub „ES5”. Definicje klas automatycznie używają trybu z ograniczeniami.",
|
|
@@ -763,14 +770,15 @@
|
|
|
763
770
|
"Implement_interface_0_90006": "Implementuj interfejs „{0}”",
|
|
764
771
|
"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019": "Klauzula implements wyeksportowanej klasy „{0}” ma nazwę prywatną „{1}” lub używa tej nazwy.",
|
|
765
772
|
"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731": "Niejawna konwersja typu „symbol” na „string” zakończy się niepowodzeniem w czasie wykonywania. Rozważ opakowywanie tego wyrażenia w elemencie „String(...)”.",
|
|
766
|
-
"
|
|
767
|
-
"
|
|
773
|
+
"Import_0_from_1_90013": "Importuj element „{0}” z lokalizacji „{1}”",
|
|
774
|
+
"Import_assertion_values_must_be_string_literal_expressions_2837": "Wartości atrybutu importu muszą być wyrażeniami literału ciągu.",
|
|
775
|
+
"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836": "Atrybuty importu są niedozwolone w instrukcjach, które transpilują do wywołań commonjs „require”.",
|
|
776
|
+
"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821": "Atrybuty importu są obsługiwane tylko wtedy, gdy opcja „--module” jest ustawiona na wartość „esnext” lub „nodenext”.",
|
|
768
777
|
"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822": "Asercji importu nie można używać z importami ani eksportami ograniczonymi do tylko danego typu.",
|
|
769
778
|
"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202": "Nie można użyć przypisania importu, gdy są używane moduły języka ECMAScript. Zamiast tego rozważ użycie elementu „import * as ns from \"mod\"”, „import {a} from \"mod\"” lub „import d from \"mod\"” albo innego formatu modułu.",
|
|
770
779
|
"Import_declaration_0_is_using_private_name_1_4000": "Deklaracja importu „{0}” używa nazwy prywatnej „{1}”.",
|
|
771
780
|
"Import_declaration_conflicts_with_local_declaration_of_0_2440": "Deklaracja importu powoduje konflikt z deklaracją lokalną „{0}”.",
|
|
772
781
|
"Import_declarations_in_a_namespace_cannot_reference_a_module_1147": "Deklaracje importu w przestrzeni nazw nie mogą odwoływać się do modułu.",
|
|
773
|
-
"Import_default_0_from_module_1_90032": "Importuj domyślny element „{0}” z modułu „{1}”",
|
|
774
782
|
"Import_emit_helpers_from_tslib_6139": "Importuj pomocników emitowania z elementu „tslib”.",
|
|
775
783
|
"Import_may_be_converted_to_a_default_import_80003": "Import może zostać przekonwertowany na import domyślny.",
|
|
776
784
|
"Import_name_cannot_be_0_2438": "Import nie może mieć nazwy „{0}”.",
|
|
@@ -790,6 +798,7 @@
|
|
|
790
798
|
"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644": "Uwzględnij kod źródłowy w mapach źródła wewnątrz emitowanego kodu JavaScript.",
|
|
791
799
|
"Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "Uwzględnij pliki mapy źródła w emitowanym kodzie JavaScript.",
|
|
792
800
|
"Include_undefined_in_index_signature_results_6716": "Uwzględnij element „undefined” w wynikach sygnatury indeksu",
|
|
801
|
+
"Includes_imports_of_types_referenced_by_0_90054": "Obejmuje importy typów przywoływanych przez element \"{0}\"",
|
|
793
802
|
"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "Zawarcie elementu --watch spowoduje, że -w rozpocznie obserwowanie bieżącego projektu w kierunku zmian w plikach. Po skonfigurowaniu ustawienia możesz określić tryb obserwacji za pomocą:",
|
|
794
803
|
"Index_signature_for_type_0_is_missing_in_type_1_2329": "Brak sygnatury indeksu dla typu „{0}” w typie „{1}”.",
|
|
795
804
|
"Index_signature_in_type_0_only_permits_reading_2542": "Sygnatura indeksu w typie „{0}” zezwala tylko na odczytywanie.",
|
|
@@ -1108,7 +1117,6 @@
|
|
|
1108
1117
|
"Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "Właściwość „{0}” jest chroniona w typie „{1}”, ale jest publiczna w typie „{2}”.",
|
|
1109
1118
|
"Property_0_is_used_before_being_assigned_2565": "Właściwość „{0}” jest używana przed przypisaniem.",
|
|
1110
1119
|
"Property_0_is_used_before_its_initialization_2729": "Właściwość „{0}” jest używana przez jej zainicjowaniem.",
|
|
1111
|
-
"Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "Nie można użyć właściwości \"{0}\" w inicjatorze właściwości statycznej w tej samej klasie, gdy parametr \"target\" ma wartość \"esnext\", a parametr \"useDefineForClassFields\" ma wartość \"false\".",
|
|
1112
1120
|
"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "Właściwość „{0}” nie istnieje w typie „{1}”. Czy chodziło Ci o „{2}”?",
|
|
1113
1121
|
"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "Właściwości „{0}” atrybutu rozkładu JSX nie można przypisać do właściwości docelowej.",
|
|
1114
1122
|
"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "Właściwość „{0}” wyeksportowanego wyrażenia klasy nie może być prywatna ani chroniona.",
|
|
@@ -1144,6 +1152,8 @@
|
|
|
1144
1152
|
"Referenced_project_0_may_not_disable_emit_6310": "Przywoływany projekt „{0}” nie może wyłączać emisji.",
|
|
1145
1153
|
"Referenced_project_0_must_have_setting_composite_Colon_true_6306": "Przywoływany projekt „{0}” musi mieć ustawienie „composite” o wartości true.",
|
|
1146
1154
|
"Referenced_via_0_from_file_1_1400": "Przywoływane za pośrednictwem elementu „{0}” z pliku „{1}”",
|
|
1155
|
+
"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834": "Względne ścieżki importu wymagają jawnych rozszerzeń plików w importach ecmaScript, gdy element „--moduleResolution” ma wartość „node12” lub „nodenext”. Zastanów się nad dodaniem rozszerzenia do ścieżki importu.",
|
|
1156
|
+
"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835": "Względne ścieżki importu wymagają jawnych rozszerzeń plików w importach ecmaScript, gdy element „--moduleResolution” ma wartość „node12” lub „nodenext”. Czy chodziło Ci o \"{0}\"?",
|
|
1147
1157
|
"Remove_a_list_of_directories_from_the_watch_process_6628": "Usuń listę katalogów z procesu obserwacji.",
|
|
1148
1158
|
"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629": "Usuń listę plików z przetwarzania w trybie obserwacji.",
|
|
1149
1159
|
"Remove_all_unnecessary_override_modifiers_95163": "Usuń wszystkie niepotrzebne modyfikatory „overrides”",
|
|
@@ -1158,6 +1168,8 @@
|
|
|
1158
1168
|
"Remove_parentheses_95126": "Usuń nawiasy",
|
|
1159
1169
|
"Remove_template_tag_90011": "Usuń znacznik szablonu",
|
|
1160
1170
|
"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618": "Usuń ograniczenie 20 MB dotyczące łącznego rozmiaru kodu źródłowego dla plików JavaScript na serwerze języka TypeScript.",
|
|
1171
|
+
"Remove_type_from_import_declaration_from_0_90055": "Usuń element „type” z deklaracji importu z elementu „ {0}”",
|
|
1172
|
+
"Remove_type_from_import_of_0_from_1_90056": "Usuń element „type” z importu elementu „{0}” z „{1}”",
|
|
1161
1173
|
"Remove_type_parameters_90012": "Usuń parametry typu",
|
|
1162
1174
|
"Remove_unnecessary_await_95086": "Usuń niepotrzebny operator „await”",
|
|
1163
1175
|
"Remove_unreachable_code_95050": "Usuń nieosiągalny kod",
|
|
@@ -1312,7 +1324,6 @@
|
|
|
1312
1324
|
"Starting_compilation_in_watch_mode_6031": "Trwa uruchamianie kompilacji w trybie śledzenia...",
|
|
1313
1325
|
"Statement_expected_1129": "Oczekiwano instrukcji.",
|
|
1314
1326
|
"Statements_are_not_allowed_in_ambient_contexts_1036": "Instrukcje są niedozwolone w otaczających kontekstach.",
|
|
1315
|
-
"Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "Pola statyczne z nazwami prywatnymi nie mogą mieć inicjatorów, gdy flaga „--useDefineForClassFields” nie jest określona z opcją „--target” o wartości „esnext”. Rozważ dodanie flagi „--useDefineForClassFields”.",
|
|
1316
1327
|
"Static_members_cannot_reference_class_type_parameters_2302": "Statyczne składowe nie mogą przywoływać parametrów typu klasy.",
|
|
1317
1328
|
"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "Właściwość statyczna „{0}” jest w konflikcie z właściwością wbudowaną „Function.{0}” funkcji konstruktora „{1}”.",
|
|
1318
1329
|
"String_literal_expected_1141": "Oczekiwano literału ciągu.",
|
|
@@ -1588,6 +1599,7 @@
|
|
|
1588
1599
|
"Untyped_function_calls_may_not_accept_type_arguments_2347": "Wywołania funkcji bez typu nie mogą przyjmować argumentów typu.",
|
|
1589
1600
|
"Unused_label_7028": "Nieużywana etykieta.",
|
|
1590
1601
|
"Unused_ts_expect_error_directive_2578": "Nieużywana dyrektywa „@ts-expect-error”.",
|
|
1602
|
+
"Update_import_from_0_90058": "Aktualizuj import z „{0}”",
|
|
1591
1603
|
"Updating_output_of_project_0_6373": "Trwa aktualizowanie danych wyjściowych projektu „{0}”...",
|
|
1592
1604
|
"Updating_output_timestamps_of_project_0_6359": "Trwa aktualizowanie sygnatury czasowej danych wyjściowych projektu „{0}”...",
|
|
1593
1605
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Trwa aktualizowanie niezmienionych sygnatur czasowych danych wyjściowych projektu „{0}”...",
|
|
@@ -1706,6 +1718,7 @@
|
|
|
1706
1718
|
"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106": "Opcja „baseUrl” ma ustawioną wartość „{0}”. Ta wartość zostanie użyta do rozpoznania innej niż względna nazwy modułu „{1}”.",
|
|
1707
1719
|
"can_only_be_used_at_the_start_of_a_file_18026": "Elementu „#!” można użyć tylko na początku pliku.",
|
|
1708
1720
|
"case_or_default_expected_1130": "Oczekiwano elementu „case” lub „default”.",
|
|
1721
|
+
"catch_or_finally_expected_1472": "Oczekiwano instrukcji „catch” lub „finally”.",
|
|
1709
1722
|
"const_declarations_can_only_be_declared_inside_a_block_1156": "Deklaracje „const” mogą być deklarowane tylko w bloku.",
|
|
1710
1723
|
"const_declarations_must_be_initialized_1155": "Konieczne jest zainicjowanie deklaracji „const”.",
|
|
1711
1724
|
"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "Wynikiem obliczenia inicjatora składowej wyliczenia ze specyfikatorem „const” jest wartość nieskończona.",
|
package/lib/protocol.d.ts
CHANGED
|
@@ -2765,6 +2765,7 @@ declare namespace ts.server.protocol {
|
|
|
2765
2765
|
ES2019 = "ES2019",
|
|
2766
2766
|
ES2020 = "ES2020",
|
|
2767
2767
|
ES2021 = "ES2021",
|
|
2768
|
+
ES2022 = "ES2022",
|
|
2768
2769
|
ESNext = "ESNext"
|
|
2769
2770
|
}
|
|
2770
2771
|
const enum ClassificationType {
|
|
@@ -2899,6 +2900,7 @@ declare namespace ts.server.protocol {
|
|
|
2899
2900
|
externalModuleName = "external module name",
|
|
2900
2901
|
/**
|
|
2901
2902
|
* <JsxTagName attribute1 attribute2={0} />
|
|
2903
|
+
* @deprecated
|
|
2902
2904
|
*/
|
|
2903
2905
|
jsxAttribute = "JSX attribute",
|
|
2904
2906
|
/** String literal */
|