typescript 4.9.1-beta → 4.9.3
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 +6 -0
- package/lib/de/diagnosticMessages.generated.json +6 -0
- package/lib/es/diagnosticMessages.generated.json +6 -0
- package/lib/fr/diagnosticMessages.generated.json +6 -0
- package/lib/it/diagnosticMessages.generated.json +6 -0
- package/lib/ja/diagnosticMessages.generated.json +6 -0
- package/lib/ko/diagnosticMessages.generated.json +6 -0
- package/lib/lib.dom.d.ts +111 -14
- package/lib/lib.dom.iterable.d.ts +6 -2
- package/lib/lib.es2015.symbol.wellknown.d.ts +3 -3
- package/lib/lib.es5.d.ts +3 -2
- package/lib/lib.webworker.d.ts +193 -6
- package/lib/lib.webworker.iterable.d.ts +10 -2
- package/lib/pl/diagnosticMessages.generated.json +9 -3
- package/lib/protocol.d.ts +18 -5
- package/lib/pt-br/diagnosticMessages.generated.json +6 -0
- package/lib/ru/diagnosticMessages.generated.json +6 -0
- package/lib/tr/diagnosticMessages.generated.json +9 -0
- package/lib/tsc.js +507 -284
- package/lib/tsserver.js +975 -471
- package/lib/tsserverlibrary.d.ts +27 -8
- package/lib/tsserverlibrary.js +972 -471
- package/lib/typescript.d.ts +9 -2
- package/lib/typescript.js +901 -421
- package/lib/typescriptServices.d.ts +9 -2
- package/lib/typescriptServices.js +901 -421
- package/lib/typingsInstaller.js +625 -359
- package/lib/zh-cn/diagnosticMessages.generated.json +6 -0
- package/lib/zh-tw/diagnosticMessages.generated.json +6 -0
- package/package.json +6 -7
|
@@ -46,6 +46,10 @@ interface Cache {
|
|
|
46
46
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
interface CanvasPath {
|
|
50
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
|
51
|
+
}
|
|
52
|
+
|
|
49
53
|
interface CanvasPathDrawingStyles {
|
|
50
54
|
setLineDash(segments: Iterable<number>): void;
|
|
51
55
|
}
|
|
@@ -273,8 +277,8 @@ interface WEBGL_draw_buffers {
|
|
|
273
277
|
interface WEBGL_multi_draw {
|
|
274
278
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
275
279
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
|
276
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<
|
|
277
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<
|
|
280
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
281
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
278
282
|
}
|
|
279
283
|
|
|
280
284
|
interface WebGL2RenderingContextBase {
|
|
@@ -239,9 +239,9 @@ interface String {
|
|
|
239
239
|
match(matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
243
|
-
* @param searchValue
|
|
244
|
-
* @param replaceValue
|
|
242
|
+
* Passes a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.
|
|
243
|
+
* @param searchValue An object that supports searching for and replacing matches within a string.
|
|
244
|
+
* @param replaceValue The replacement text.
|
|
245
245
|
*/
|
|
246
246
|
replace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValue: string): string;
|
|
247
247
|
|
package/lib/lib.es5.d.ts
CHANGED
|
@@ -443,8 +443,8 @@ interface String {
|
|
|
443
443
|
|
|
444
444
|
/**
|
|
445
445
|
* Replaces text in a string, using a regular expression or search string.
|
|
446
|
-
* @param searchValue A string to search for.
|
|
447
|
-
* @param replaceValue A string containing the text to replace
|
|
446
|
+
* @param searchValue A string or regular expression to search for.
|
|
447
|
+
* @param replaceValue A string containing the text to replace. When the {@linkcode searchValue} is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue} is replaced.
|
|
448
448
|
*/
|
|
449
449
|
replace(searchValue: string | RegExp, replaceValue: string): string;
|
|
450
450
|
|
|
@@ -931,6 +931,7 @@ interface DateConstructor {
|
|
|
931
931
|
* @param ms A number from 0 to 999 that specifies the milliseconds.
|
|
932
932
|
*/
|
|
933
933
|
UTC(year: number, monthIndex: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;
|
|
934
|
+
/** Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC). */
|
|
934
935
|
now(): number;
|
|
935
936
|
}
|
|
936
937
|
|
package/lib/lib.webworker.d.ts
CHANGED
|
@@ -699,10 +699,10 @@ interface UnderlyingSource<R = any> {
|
|
|
699
699
|
}
|
|
700
700
|
|
|
701
701
|
interface VideoColorSpaceInit {
|
|
702
|
-
fullRange?: boolean;
|
|
703
|
-
matrix?: VideoMatrixCoefficients;
|
|
704
|
-
primaries?: VideoColorPrimaries;
|
|
705
|
-
transfer?: VideoTransferCharacteristics;
|
|
702
|
+
fullRange?: boolean | null;
|
|
703
|
+
matrix?: VideoMatrixCoefficients | null;
|
|
704
|
+
primaries?: VideoColorPrimaries | null;
|
|
705
|
+
transfer?: VideoTransferCharacteristics | null;
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
interface VideoConfiguration {
|
|
@@ -752,7 +752,7 @@ interface AbortController {
|
|
|
752
752
|
/** Returns the AbortSignal object associated with this object. */
|
|
753
753
|
readonly signal: AbortSignal;
|
|
754
754
|
/** 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. */
|
|
755
|
-
|
|
755
|
+
abort(reason?: any): void;
|
|
756
756
|
}
|
|
757
757
|
|
|
758
758
|
declare var AbortController: {
|
|
@@ -898,6 +898,44 @@ declare var CacheStorage: {
|
|
|
898
898
|
new(): CacheStorage;
|
|
899
899
|
};
|
|
900
900
|
|
|
901
|
+
interface CanvasCompositing {
|
|
902
|
+
globalAlpha: number;
|
|
903
|
+
globalCompositeOperation: GlobalCompositeOperation;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
interface CanvasDrawImage {
|
|
907
|
+
drawImage(image: CanvasImageSource, dx: number, dy: number): void;
|
|
908
|
+
drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;
|
|
909
|
+
drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
interface CanvasDrawPath {
|
|
913
|
+
beginPath(): void;
|
|
914
|
+
clip(fillRule?: CanvasFillRule): void;
|
|
915
|
+
clip(path: Path2D, fillRule?: CanvasFillRule): void;
|
|
916
|
+
fill(fillRule?: CanvasFillRule): void;
|
|
917
|
+
fill(path: Path2D, fillRule?: CanvasFillRule): void;
|
|
918
|
+
isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;
|
|
919
|
+
isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;
|
|
920
|
+
isPointInStroke(x: number, y: number): boolean;
|
|
921
|
+
isPointInStroke(path: Path2D, x: number, y: number): boolean;
|
|
922
|
+
stroke(): void;
|
|
923
|
+
stroke(path: Path2D): void;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
interface CanvasFillStrokeStyles {
|
|
927
|
+
fillStyle: string | CanvasGradient | CanvasPattern;
|
|
928
|
+
strokeStyle: string | CanvasGradient | CanvasPattern;
|
|
929
|
+
createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;
|
|
930
|
+
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
|
|
931
|
+
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
|
|
932
|
+
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
interface CanvasFilters {
|
|
936
|
+
filter: string;
|
|
937
|
+
}
|
|
938
|
+
|
|
901
939
|
/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */
|
|
902
940
|
interface CanvasGradient {
|
|
903
941
|
/**
|
|
@@ -913,6 +951,19 @@ declare var CanvasGradient: {
|
|
|
913
951
|
new(): CanvasGradient;
|
|
914
952
|
};
|
|
915
953
|
|
|
954
|
+
interface CanvasImageData {
|
|
955
|
+
createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
|
956
|
+
createImageData(imagedata: ImageData): ImageData;
|
|
957
|
+
getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
|
958
|
+
putImageData(imagedata: ImageData, dx: number, dy: number): void;
|
|
959
|
+
putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
interface CanvasImageSmoothing {
|
|
963
|
+
imageSmoothingEnabled: boolean;
|
|
964
|
+
imageSmoothingQuality: ImageSmoothingQuality;
|
|
965
|
+
}
|
|
966
|
+
|
|
916
967
|
interface CanvasPath {
|
|
917
968
|
arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;
|
|
918
969
|
arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;
|
|
@@ -923,6 +974,17 @@ interface CanvasPath {
|
|
|
923
974
|
moveTo(x: number, y: number): void;
|
|
924
975
|
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
|
|
925
976
|
rect(x: number, y: number, w: number, h: number): void;
|
|
977
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
interface CanvasPathDrawingStyles {
|
|
981
|
+
lineCap: CanvasLineCap;
|
|
982
|
+
lineDashOffset: number;
|
|
983
|
+
lineJoin: CanvasLineJoin;
|
|
984
|
+
lineWidth: number;
|
|
985
|
+
miterLimit: number;
|
|
986
|
+
getLineDash(): number[];
|
|
987
|
+
setLineDash(segments: number[]): void;
|
|
926
988
|
}
|
|
927
989
|
|
|
928
990
|
/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */
|
|
@@ -936,6 +998,49 @@ declare var CanvasPattern: {
|
|
|
936
998
|
new(): CanvasPattern;
|
|
937
999
|
};
|
|
938
1000
|
|
|
1001
|
+
interface CanvasRect {
|
|
1002
|
+
clearRect(x: number, y: number, w: number, h: number): void;
|
|
1003
|
+
fillRect(x: number, y: number, w: number, h: number): void;
|
|
1004
|
+
strokeRect(x: number, y: number, w: number, h: number): void;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
interface CanvasShadowStyles {
|
|
1008
|
+
shadowBlur: number;
|
|
1009
|
+
shadowColor: string;
|
|
1010
|
+
shadowOffsetX: number;
|
|
1011
|
+
shadowOffsetY: number;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
interface CanvasState {
|
|
1015
|
+
restore(): void;
|
|
1016
|
+
save(): void;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
interface CanvasText {
|
|
1020
|
+
fillText(text: string, x: number, y: number, maxWidth?: number): void;
|
|
1021
|
+
measureText(text: string): TextMetrics;
|
|
1022
|
+
strokeText(text: string, x: number, y: number, maxWidth?: number): void;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
interface CanvasTextDrawingStyles {
|
|
1026
|
+
direction: CanvasDirection;
|
|
1027
|
+
font: string;
|
|
1028
|
+
fontKerning: CanvasFontKerning;
|
|
1029
|
+
textAlign: CanvasTextAlign;
|
|
1030
|
+
textBaseline: CanvasTextBaseline;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
interface CanvasTransform {
|
|
1034
|
+
getTransform(): DOMMatrix;
|
|
1035
|
+
resetTransform(): void;
|
|
1036
|
+
rotate(angle: number): void;
|
|
1037
|
+
scale(x: number, y: number): void;
|
|
1038
|
+
setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
1039
|
+
setTransform(transform?: DOMMatrix2DInit): void;
|
|
1040
|
+
transform(a: number, b: number, c: number, d: number, e: number, f: number): void;
|
|
1041
|
+
translate(x: number, y: number): void;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
939
1044
|
/** The Client interface represents an executable context such as a Worker, or a SharedWorker. Window clients are represented by the more-specific WindowClient. You can get Client/WindowClient objects from methods such as Clients.matchAll() and Clients.get(). */
|
|
940
1045
|
interface Client {
|
|
941
1046
|
readonly frameType: FrameType;
|
|
@@ -1362,6 +1467,17 @@ interface EXT_texture_filter_anisotropic {
|
|
|
1362
1467
|
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
|
|
1363
1468
|
}
|
|
1364
1469
|
|
|
1470
|
+
interface EXT_texture_norm16 {
|
|
1471
|
+
readonly R16_EXT: GLenum;
|
|
1472
|
+
readonly R16_SNORM_EXT: GLenum;
|
|
1473
|
+
readonly RG16_EXT: GLenum;
|
|
1474
|
+
readonly RG16_SNORM_EXT: GLenum;
|
|
1475
|
+
readonly RGB16_EXT: GLenum;
|
|
1476
|
+
readonly RGB16_SNORM_EXT: GLenum;
|
|
1477
|
+
readonly RGBA16_EXT: GLenum;
|
|
1478
|
+
readonly RGBA16_SNORM_EXT: GLenum;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1365
1481
|
/** Events providing information related to errors in scripts or in files. */
|
|
1366
1482
|
interface ErrorEvent extends Event {
|
|
1367
1483
|
readonly colno: number;
|
|
@@ -2396,6 +2512,16 @@ declare var NotificationEvent: {
|
|
|
2396
2512
|
new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;
|
|
2397
2513
|
};
|
|
2398
2514
|
|
|
2515
|
+
interface OES_draw_buffers_indexed {
|
|
2516
|
+
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
|
2517
|
+
blendEquationiOES(buf: GLuint, mode: GLenum): void;
|
|
2518
|
+
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
|
|
2519
|
+
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
|
|
2520
|
+
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
|
|
2521
|
+
disableiOES(target: GLenum, index: GLuint): void;
|
|
2522
|
+
enableiOES(target: GLenum, index: GLuint): void;
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2399
2525
|
/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
|
|
2400
2526
|
interface OES_element_index_uint {
|
|
2401
2527
|
}
|
|
@@ -2441,10 +2567,57 @@ interface OVR_multiview2 {
|
|
|
2441
2567
|
readonly MAX_VIEWS_OVR: GLenum;
|
|
2442
2568
|
}
|
|
2443
2569
|
|
|
2444
|
-
|
|
2570
|
+
interface OffscreenCanvasEventMap {
|
|
2571
|
+
"contextlost": Event;
|
|
2572
|
+
"contextrestored": Event;
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2445
2575
|
interface OffscreenCanvas extends EventTarget {
|
|
2576
|
+
/**
|
|
2577
|
+
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
2578
|
+
*
|
|
2579
|
+
* They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).
|
|
2580
|
+
*/
|
|
2581
|
+
height: number;
|
|
2582
|
+
oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
2583
|
+
oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
2584
|
+
/**
|
|
2585
|
+
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
2586
|
+
*
|
|
2587
|
+
* They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).
|
|
2588
|
+
*/
|
|
2589
|
+
width: number;
|
|
2590
|
+
/**
|
|
2591
|
+
* Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.
|
|
2592
|
+
*
|
|
2593
|
+
* This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL]
|
|
2594
|
+
*
|
|
2595
|
+
* Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).
|
|
2596
|
+
*/
|
|
2597
|
+
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
2598
|
+
/** Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. */
|
|
2599
|
+
transferToImageBitmap(): ImageBitmap;
|
|
2600
|
+
addEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2601
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2602
|
+
removeEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2603
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2446
2604
|
}
|
|
2447
2605
|
|
|
2606
|
+
declare var OffscreenCanvas: {
|
|
2607
|
+
prototype: OffscreenCanvas;
|
|
2608
|
+
new(width: number, height: number): OffscreenCanvas;
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
2612
|
+
readonly canvas: OffscreenCanvas;
|
|
2613
|
+
commit(): void;
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
declare var OffscreenCanvasRenderingContext2D: {
|
|
2617
|
+
prototype: OffscreenCanvasRenderingContext2D;
|
|
2618
|
+
new(): OffscreenCanvasRenderingContext2D;
|
|
2619
|
+
};
|
|
2620
|
+
|
|
2448
2621
|
/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */
|
|
2449
2622
|
interface Path2D extends CanvasPath {
|
|
2450
2623
|
/** Adds to the path the path given by the argument. */
|
|
@@ -5940,6 +6113,7 @@ type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
|
5940
6113
|
type Int32List = Int32Array | GLint[];
|
|
5941
6114
|
type MessageEventSource = MessagePort | ServiceWorker;
|
|
5942
6115
|
type NamedCurve = string;
|
|
6116
|
+
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
5943
6117
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
5944
6118
|
type PerformanceEntryList = PerformanceEntry[];
|
|
5945
6119
|
type PushMessageDataInit = BufferSource | string;
|
|
@@ -5954,6 +6128,16 @@ type Uint32List = Uint32Array | GLuint[];
|
|
|
5954
6128
|
type VibratePattern = number | number[];
|
|
5955
6129
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
5956
6130
|
type BinaryType = "arraybuffer" | "blob";
|
|
6131
|
+
type CanvasDirection = "inherit" | "ltr" | "rtl";
|
|
6132
|
+
type CanvasFillRule = "evenodd" | "nonzero";
|
|
6133
|
+
type CanvasFontKerning = "auto" | "none" | "normal";
|
|
6134
|
+
type CanvasFontStretch = "condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded";
|
|
6135
|
+
type CanvasFontVariantCaps = "all-petite-caps" | "all-small-caps" | "normal" | "petite-caps" | "small-caps" | "titling-caps" | "unicase";
|
|
6136
|
+
type CanvasLineCap = "butt" | "round" | "square";
|
|
6137
|
+
type CanvasLineJoin = "bevel" | "miter" | "round";
|
|
6138
|
+
type CanvasTextAlign = "center" | "end" | "left" | "right" | "start";
|
|
6139
|
+
type CanvasTextBaseline = "alphabetic" | "bottom" | "hanging" | "ideographic" | "middle" | "top";
|
|
6140
|
+
type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility" | "optimizeSpeed";
|
|
5957
6141
|
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
|
|
5958
6142
|
type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
5959
6143
|
type ColorSpaceConversion = "default" | "none";
|
|
@@ -5963,12 +6147,14 @@ type FileSystemHandleKind = "directory" | "file";
|
|
|
5963
6147
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
5964
6148
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
5965
6149
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
6150
|
+
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
5966
6151
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
5967
6152
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
5968
6153
|
type IDBRequestReadyState = "done" | "pending";
|
|
5969
6154
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
5970
6155
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
5971
6156
|
type ImageOrientation = "flipY" | "none";
|
|
6157
|
+
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
5972
6158
|
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
|
|
5973
6159
|
type KeyType = "private" | "public" | "secret";
|
|
5974
6160
|
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
|
|
@@ -5977,6 +6163,7 @@ type MediaDecodingType = "file" | "media-source" | "webrtc";
|
|
|
5977
6163
|
type MediaEncodingType = "record" | "webrtc";
|
|
5978
6164
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
5979
6165
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
6166
|
+
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
5980
6167
|
type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "xr-spatial-tracking";
|
|
5981
6168
|
type PermissionState = "denied" | "granted" | "prompt";
|
|
5982
6169
|
type PredefinedColorSpace = "display-p3" | "srgb";
|
|
@@ -26,6 +26,14 @@ interface Cache {
|
|
|
26
26
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
interface CanvasPath {
|
|
30
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface CanvasPathDrawingStyles {
|
|
34
|
+
setLineDash(segments: Iterable<number>): void;
|
|
35
|
+
}
|
|
36
|
+
|
|
29
37
|
interface DOMStringList {
|
|
30
38
|
[Symbol.iterator](): IterableIterator<string>;
|
|
31
39
|
}
|
|
@@ -103,8 +111,8 @@ interface WEBGL_draw_buffers {
|
|
|
103
111
|
interface WEBGL_multi_draw {
|
|
104
112
|
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
113
|
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<
|
|
107
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<
|
|
114
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
115
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
108
116
|
}
|
|
109
117
|
|
|
110
118
|
interface WebGL2RenderingContextBase {
|
|
@@ -660,6 +660,8 @@
|
|
|
660
660
|
"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "Obsługa eksperymentalna dekoratorów to funkcja, która może ulec zmianie w nowszych wersjach. Ustaw opcję „experimentalDecorators” w pliku „tsconfig” lub „jsconfig”, aby usunąć to ostrzeżenie.",
|
|
661
661
|
"Explicitly_specified_module_resolution_kind_Colon_0_6087": "Jawnie określony rodzaj rozpoznawania modułów: „{0}”.",
|
|
662
662
|
"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "Nie można wykonać potęgowania wartości typu „bigint”, chyba że opcja „target” ma wartość „es2016” lub nowszą.",
|
|
663
|
+
"Export_0_from_module_1_90059": "Eksportuj „{0}” z modułu „{1}”",
|
|
664
|
+
"Export_all_referenced_locals_90060": "Eksportuj wszystkie przywoływane zmienne lokalne",
|
|
663
665
|
"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "Nie można użyć przypisania eksportu, gdy są używane moduły języka ECMAScript. Zamiast tego rozważ użycie elementu „export default” lub innego formatu modułu.",
|
|
664
666
|
"Export_assignment_is_not_supported_when_module_flag_is_system_1218": "Przypisanie eksportu nie jest obsługiwane, gdy flaga „--module” ma postać „system”.",
|
|
665
667
|
"Export_declaration_conflicts_with_exported_declaration_of_0_2484": "Deklaracja eksportu powoduje konflikt z wyeksportowaną deklaracją „{0}”.",
|
|
@@ -908,6 +910,7 @@
|
|
|
908
910
|
"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "Określ, że element keyof ma zwracać tylko ciągi zamiast ciągów, liczb i symboli. Starsza opcja.",
|
|
909
911
|
"Make_super_call_the_first_statement_in_the_constructor_90002": "Ustaw wywołanie „super()” jako pierwszą instrukcję w konstruktorze",
|
|
910
912
|
"Mapped_object_type_implicitly_has_an_any_template_type_7039": "Zmapowany typ obiektu niejawnie ma typ szablonu „any”.",
|
|
913
|
+
"Matched_0_condition_1_6403": "Dopasowano „{0}” warunku „{1}”.",
|
|
911
914
|
"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "Dopasowywane domyślnie do wzorca dołączania „**/*”",
|
|
912
915
|
"Matched_by_include_pattern_0_in_1_1407": "Zgodne z wzorcem dołączania „{0}” w elemencie „{1}”",
|
|
913
916
|
"Member_0_implicitly_has_an_1_type_7008": "Dla składowej „{0}” niejawnie określono typ „{1}”.",
|
|
@@ -1220,6 +1223,7 @@
|
|
|
1220
1223
|
"Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "Znaleziono rozwiązanie dla modułu „{0}” w pamięci podręcznej z lokalizacji „{1}”.",
|
|
1221
1224
|
"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "Znaleziono rozwiązanie dla dyrektywy odwołania do typu „{0}” w pamięci podręcznej z lokalizacji „{1}”.",
|
|
1222
1225
|
"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "Rozwiązuj elementy „keyof” tylko do nazw właściwości mających jako wartość ciągi (nie liczby czy symbole).",
|
|
1226
|
+
"Resolving_in_0_mode_with_conditions_1_6402": "Rozpoznawanie w trybie {0} z warunkami {1}.",
|
|
1223
1227
|
"Resolving_module_0_from_1_6086": "======== Rozpoznawanie modułu „{0}” na podstawie „{1}”. ========",
|
|
1224
1228
|
"Resolving_module_name_0_relative_to_base_url_1_2_6094": "Rozpoznawanie nazwy modułu „{0}” względem podstawowego adresu URL „{1}” — „{2}”.",
|
|
1225
1229
|
"Resolving_real_path_for_0_result_1_6130": "Rozpoznawanie rzeczywistej ścieżki elementu „{0}”, wynik: „{1}”.",
|
|
@@ -1276,6 +1280,7 @@
|
|
|
1276
1280
|
"Root_file_specified_for_compilation_1427": "Plik główny określony na potrzeby kompilacji",
|
|
1277
1281
|
"STRATEGY_6039": "STRATEGIA",
|
|
1278
1282
|
"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "Zapisuj pliki tsbuildinfo, aby umożliwić przyrostową kompilację projektów.",
|
|
1283
|
+
"Saw_non_matching_condition_0_6405": "Wyświetlono niezgodny warunek „{0}”.",
|
|
1279
1284
|
"Scoped_package_detected_looking_in_0_6182": "Wykryto pakiet w zakresie, wyszukiwanie w „{0}”",
|
|
1280
1285
|
"Selection_is_not_a_valid_statement_or_statements_95155": "Wybór nie jest prawidłową instrukcją ani instrukcjami",
|
|
1281
1286
|
"Selection_is_not_a_valid_type_node_95133": "Wybór nie jest prawidłowym węzłem typu",
|
|
@@ -1474,7 +1479,7 @@
|
|
|
1474
1479
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "Element prop „{0}” tego tagu JSX oczekuje pojedynczego elementu podrzędnego typu „{1}”, ale podano wiele elementów podrzędnych.",
|
|
1475
1480
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "Element prop „{0}” tego tagu JSX oczekuje typu „{1}”, który wymaga wielu elementów podrzędnych, ale podano tylko jeden element podrzędny.",
|
|
1476
1481
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "To porównanie wydaje się niezamierzone, ponieważ typy „{0}” i „{1}” nie nakładają się na siebie.",
|
|
1477
|
-
"This_condition_will_always_return_0_2845": "
|
|
1482
|
+
"This_condition_will_always_return_0_2845": "Ten warunek będzie zawsze zwracać wartość „{0}”.",
|
|
1478
1483
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "Ten warunek zawsze będzie zwracać wartość „{0}”, ponieważ język JavaScript porównuje obiekty według odwołania, a nie wartości.",
|
|
1479
1484
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "Ten warunek będzie zawsze zwracać wartość true, ponieważ wartość '{0}' jest zawsze prawdziwa.",
|
|
1480
1485
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "Ten warunek będzie zawsze zwracał wartość true, ponieważ funkcja jest zawsze zdefiniowana. Czy chcesz wywołać ją zamiast tego?",
|
|
@@ -1649,11 +1654,12 @@
|
|
|
1649
1654
|
"Updating_output_of_project_0_6373": "Trwa aktualizowanie danych wyjściowych projektu „{0}”...",
|
|
1650
1655
|
"Updating_output_timestamps_of_project_0_6359": "Trwa aktualizowanie sygnatury czasowej danych wyjściowych projektu „{0}”...",
|
|
1651
1656
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "Trwa aktualizowanie niezmienionych sygnatur czasowych danych wyjściowych projektu „{0}”...",
|
|
1652
|
-
"Use_0_95174": "
|
|
1653
|
-
"Use_Number_isNaN_in_all_conditions_95175": "
|
|
1657
|
+
"Use_0_95174": "Użyj „{0}”.",
|
|
1658
|
+
"Use_Number_isNaN_in_all_conditions_95175": "Użyj wartości „Number.isNaN” we wszystkich warunkach.",
|
|
1654
1659
|
"Use_element_access_for_0_95145": "Użyj dostępu do elementu w przypadku elementu „{0}”",
|
|
1655
1660
|
"Use_element_access_for_all_undeclared_properties_95146": "Użyj dostępu do elementu w przypadku wszystkich niezadeklarowanych właściwości.",
|
|
1656
1661
|
"Use_synthetic_default_member_95016": "Użyj syntetycznej składowej „default”.",
|
|
1662
|
+
"Using_0_subpath_1_with_target_2_6404": "Używanie „{0}” ścieżki podrzędnej „{1}” z elementem docelowym „{2}”.",
|
|
1657
1663
|
"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Używanie ciągu w instrukcji „for...of” jest obsługiwane tylko w języku ECMAScript 5 lub nowszym.",
|
|
1658
1664
|
"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Użycie elementu --build, -b sprawi, że narzędzie tsc będzie zachowywało się bardziej jak orkiestrator kompilacji niż kompilator. Ta opcja jest wykorzystywana do wyzwalania kompilacji projektów złożonych, o których dowiesz się więcej na stronie {0}",
|
|
1659
1665
|
"Using_compiler_options_of_project_reference_redirect_0_6215": "Using compiler options of project reference redirect '{0}'.",
|
package/lib/protocol.d.ts
CHANGED
|
@@ -501,9 +501,16 @@ declare namespace ts.server.protocol {
|
|
|
501
501
|
arguments: OrganizeImportsRequestArgs;
|
|
502
502
|
}
|
|
503
503
|
type OrganizeImportsScope = GetCombinedCodeFixScope;
|
|
504
|
+
const enum OrganizeImportsMode {
|
|
505
|
+
All = "All",
|
|
506
|
+
SortAndCombine = "SortAndCombine",
|
|
507
|
+
RemoveUnused = "RemoveUnused"
|
|
508
|
+
}
|
|
504
509
|
interface OrganizeImportsRequestArgs {
|
|
505
510
|
scope: OrganizeImportsScope;
|
|
511
|
+
/** @deprecated Use `mode` instead */
|
|
506
512
|
skipDestructiveCodeActions?: boolean;
|
|
513
|
+
mode?: OrganizeImportsMode;
|
|
507
514
|
}
|
|
508
515
|
interface OrganizeImportsResponse extends Response {
|
|
509
516
|
body: readonly FileCodeEdits[];
|
|
@@ -853,12 +860,14 @@ declare namespace ts.server.protocol {
|
|
|
853
860
|
command: CommandTypes.References;
|
|
854
861
|
}
|
|
855
862
|
interface ReferencesResponseItem extends FileSpanWithContext {
|
|
856
|
-
/**
|
|
857
|
-
*
|
|
858
|
-
*
|
|
859
|
-
* loaded the referencing files).
|
|
863
|
+
/**
|
|
864
|
+
* Text of line containing the reference. Including this
|
|
865
|
+
* with the response avoids latency of editor loading files
|
|
866
|
+
* to show text of reference line (the server already has loaded the referencing files).
|
|
867
|
+
*
|
|
868
|
+
* If {@link UserPreferences.disableLineTextInReferences} is enabled, the property won't be filled
|
|
860
869
|
*/
|
|
861
|
-
lineText
|
|
870
|
+
lineText?: string;
|
|
862
871
|
/**
|
|
863
872
|
* True if reference is a write location, false otherwise.
|
|
864
873
|
*/
|
|
@@ -2704,6 +2713,10 @@ declare namespace ts.server.protocol {
|
|
|
2704
2713
|
readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
|
|
2705
2714
|
readonly includeInlayEnumMemberValueHints?: boolean;
|
|
2706
2715
|
readonly autoImportFileExcludePatterns?: string[];
|
|
2716
|
+
/**
|
|
2717
|
+
* Indicates whether {@link ReferencesResponseItem.lineText} is supported.
|
|
2718
|
+
*/
|
|
2719
|
+
readonly disableLineTextInReferences?: boolean;
|
|
2707
2720
|
}
|
|
2708
2721
|
interface CompilerOptions {
|
|
2709
2722
|
allowJs?: boolean;
|
|
@@ -660,6 +660,8 @@
|
|
|
660
660
|
"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "O suporte experimental de decorador é um recurso que está sujeito a alterações em uma liberação futura. Configure a opção 'experimentalDecorators' em seu 'tsconfig' ou 'jsconfig' para remover este aviso.",
|
|
661
661
|
"Explicitly_specified_module_resolution_kind_Colon_0_6087": "Tipo de resolução de módulo especificado explicitamente: '{0}'.",
|
|
662
662
|
"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "A exponenciação não pode ser executada nos valores 'bigint', a menos que a opção 'target' esteja definida como 'es2016' ou posterior.",
|
|
663
|
+
"Export_0_from_module_1_90059": "Exportar '{0}' do módulo '{1}'",
|
|
664
|
+
"Export_all_referenced_locals_90060": "Exportar todos os locais referenciados",
|
|
663
665
|
"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "Não é possível usar a atribuição de exportação durante o direcionamento para módulos de ECMAScript. Use a 'exportação padrão' ou outro formato de módulo em vez disso.",
|
|
664
666
|
"Export_assignment_is_not_supported_when_module_flag_is_system_1218": "A atribuição de exportação não tem suporte quando o sinalizador '--module' é 'system'.",
|
|
665
667
|
"Export_declaration_conflicts_with_exported_declaration_of_0_2484": "Exportar conflitos de declaração com declaração exportada de '{0}'.",
|
|
@@ -908,6 +910,7 @@
|
|
|
908
910
|
"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "Fazer com que o keyof retorne apenas cadeias de caracteres, números ou símbolos. Opção herdada.",
|
|
909
911
|
"Make_super_call_the_first_statement_in_the_constructor_90002": "Tornar a chamada 'super()' a primeira instrução no construtor",
|
|
910
912
|
"Mapped_object_type_implicitly_has_an_any_template_type_7039": "O tipo de objeto mapeado implicitamente tem um tipo de modelo 'any'.",
|
|
913
|
+
"Matched_0_condition_1_6403": "'{0}' correspondente à condição '{1}'.",
|
|
911
914
|
"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "Correspondido por padrão de inclusão padrão '**/*'",
|
|
912
915
|
"Matched_by_include_pattern_0_in_1_1407": "Correspondência pelo padrão de inclusão '{0}' em '{1}'",
|
|
913
916
|
"Member_0_implicitly_has_an_1_type_7008": "O membro '{0}' implicitamente tem um tipo '{1}'.",
|
|
@@ -1220,6 +1223,7 @@
|
|
|
1220
1223
|
"Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "A resolução para o módulo '{0}' foi encontrada no cache do local '{1}'.",
|
|
1221
1224
|
"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "A resolução para a diretiva de referência de tipo '{0}' foi encontrada no cache a partir do local '{1}'.",
|
|
1222
1225
|
"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "Resolva 'keyof' somente para nomes de propriedades com valores de cadeia de caracteres (sem números nem símbolos).",
|
|
1226
|
+
"Resolving_in_0_mode_with_conditions_1_6402": "Resolvendo no modo {0} com condições {1}.",
|
|
1223
1227
|
"Resolving_module_0_from_1_6086": "======== Resolvendo módulo '{0}' de '{1}'. ========",
|
|
1224
1228
|
"Resolving_module_name_0_relative_to_base_url_1_2_6094": "Resolvendo nome de módulo '{0}' relativo à URL base '{1}' - '{2}'.",
|
|
1225
1229
|
"Resolving_real_path_for_0_result_1_6130": "Resolvendo o caminho real de '{0}', resultado '{1}'.",
|
|
@@ -1276,6 +1280,7 @@
|
|
|
1276
1280
|
"Root_file_specified_for_compilation_1427": "Arquivo raiz especificado para compilação",
|
|
1277
1281
|
"STRATEGY_6039": "ESTRATÉGIA",
|
|
1278
1282
|
"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "Salvar arquivos .tsbuildinfo para permitir a compilação incremental de projetos.",
|
|
1283
|
+
"Saw_non_matching_condition_0_6405": "Viu condição de não correspondência '{0}'.",
|
|
1279
1284
|
"Scoped_package_detected_looking_in_0_6182": "Pacote com escopo detectado, procurando no '{0}'",
|
|
1280
1285
|
"Selection_is_not_a_valid_statement_or_statements_95155": "A seleção não é uma instrução ou instruções válidas",
|
|
1281
1286
|
"Selection_is_not_a_valid_type_node_95133": "A seleção não é um nó de tipo válido",
|
|
@@ -1654,6 +1659,7 @@
|
|
|
1654
1659
|
"Use_element_access_for_0_95145": "Usar o acesso de elemento para '{0}'",
|
|
1655
1660
|
"Use_element_access_for_all_undeclared_properties_95146": "Usar o acesso de elemento para todas as propriedades não declaradas.",
|
|
1656
1661
|
"Use_synthetic_default_member_95016": "Use o membro sintético 'padrão'.",
|
|
1662
|
+
"Using_0_subpath_1_with_target_2_6404": "Usando '{0}' subcaminho '{1}' com destino '{2}'.",
|
|
1657
1663
|
"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Há suporte para o uso de uma cadeia de caracteres em uma instrução 'for...of' somente no ECMAScript 5 e superior.",
|
|
1658
1664
|
"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Usar --build, -b fará com que o tsc se comporte mais como um orquestrador de build do que como um compilador. Isso é usado para acionar a construção de projetos compostos sobre os quais você pode aprender mais em {0}",
|
|
1659
1665
|
"Using_compiler_options_of_project_reference_redirect_0_6215": "Usando as opções do compilador de redirecionamento de referência do projeto '{0}'.",
|
|
@@ -660,6 +660,8 @@
|
|
|
660
660
|
"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "Экспериментальная поддержка для декораторов — это функция, которая будет изменена в будущем выпуске. Задайте параметр \"experimentalDecorators\" в \"tsconfig\" или \"jsconfig\", чтобы удалить это предупреждение.",
|
|
661
661
|
"Explicitly_specified_module_resolution_kind_Colon_0_6087": "Явно указанный тип разрешения модуля: \"{0}\".",
|
|
662
662
|
"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "Невозможно выполнить возведение в степень для значений \"bigint\", если для параметра \"target\" не задана версия \"es2016\" или более поздняя версия.",
|
|
663
|
+
"Export_0_from_module_1_90059": "Экспорт \"{0}\" из модуля \"{1}\"",
|
|
664
|
+
"Export_all_referenced_locals_90060": "Экспортировать все локальные объекты, на которые указывают ссылки",
|
|
663
665
|
"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "Назначение экспорта невозможно использовать при разработке для модулей ECMAScript. Попробуйте использовать \"export default\" или другой формат модуля.",
|
|
664
666
|
"Export_assignment_is_not_supported_when_module_flag_is_system_1218": "Назначение экспорта не поддерживается, если флаг \"--module\" имеет значение \"system\".",
|
|
665
667
|
"Export_declaration_conflicts_with_exported_declaration_of_0_2484": "Объявление экспорта конфликтует с экспортированным объявлением \"{0}\".",
|
|
@@ -908,6 +910,7 @@
|
|
|
908
910
|
"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "Сделать так, чтобы keyof возвращал только строки, а не строки, числа или символы. Устаревший вариант.",
|
|
909
911
|
"Make_super_call_the_first_statement_in_the_constructor_90002": "Сделайте вызов \"super()\" первой инструкцией в конструкторе",
|
|
910
912
|
"Mapped_object_type_implicitly_has_an_any_template_type_7039": "Сопоставленный объект неявно имеет тип шаблона \"любой\".",
|
|
913
|
+
"Matched_0_condition_1_6403": "Соответствие: \"{0}\", условие: \"{1}\".",
|
|
911
914
|
"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "Сопоставление по умолчанию включает шаблон '**/*'",
|
|
912
915
|
"Matched_by_include_pattern_0_in_1_1407": "Соответствует шаблону включения \"{0}\" в \"{1}\".",
|
|
913
916
|
"Member_0_implicitly_has_an_1_type_7008": "Элемент \"{0}\" неявно имеет тип \"{1}\".",
|
|
@@ -1220,6 +1223,7 @@
|
|
|
1220
1223
|
"Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "Разрешение для модуля \"{0}\" найдено в кэше из расположения \"{1}\".",
|
|
1221
1224
|
"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "Разрешение для директивы ссылки на тип \"{0}\" обнаружено в кэше из расположения \"{1}\".",
|
|
1222
1225
|
"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "Разрешать \"keyof\" только в имена свойств со строковым значением (не числа и не символы).",
|
|
1226
|
+
"Resolving_in_0_mode_with_conditions_1_6402": "Разрешение в режиме {0} с условиями {1}.",
|
|
1223
1227
|
"Resolving_module_0_from_1_6086": "======== Идет разрешение модуля \"{0}\" из \"{1}\". ========",
|
|
1224
1228
|
"Resolving_module_name_0_relative_to_base_url_1_2_6094": "Идет разрешение имени модуля \"{0}\" относительного к базовому URL-адресу \"{1}\" — \"{2}\".",
|
|
1225
1229
|
"Resolving_real_path_for_0_result_1_6130": "Разрешается реальный путь для \"{0}\"; результат: \"{1}\".",
|
|
@@ -1276,6 +1280,7 @@
|
|
|
1276
1280
|
"Root_file_specified_for_compilation_1427": "Корневой файл, указанный для компиляции",
|
|
1277
1281
|
"STRATEGY_6039": "СТРАТЕГИЯ",
|
|
1278
1282
|
"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "Сохраните файлы .tsbuildinfo, чтобы обеспечить возможность добавочной компиляции проектов.",
|
|
1283
|
+
"Saw_non_matching_condition_0_6405": "Обнаружено несоответствующее условие \"{0}\".",
|
|
1279
1284
|
"Scoped_package_detected_looking_in_0_6182": "Обнаружен пакет, относящийся к области; поиск в \"{0}\"",
|
|
1280
1285
|
"Selection_is_not_a_valid_statement_or_statements_95155": "Выделенный фрагмент не является допустимым оператором или операторами.",
|
|
1281
1286
|
"Selection_is_not_a_valid_type_node_95133": "Выбранный элемент не является допустимым узлом типа.",
|
|
@@ -1654,6 +1659,7 @@
|
|
|
1654
1659
|
"Use_element_access_for_0_95145": "Использовать доступ к элементам для \"{0}\".",
|
|
1655
1660
|
"Use_element_access_for_all_undeclared_properties_95146": "Использовать доступ к элементам для всех необъявленных свойств.",
|
|
1656
1661
|
"Use_synthetic_default_member_95016": "Используйте искусственный элемент \"default\".",
|
|
1662
|
+
"Using_0_subpath_1_with_target_2_6404": "Использование \"{0}\", вложенный путь: \"{1}\", целевой объект: \"{2}\".",
|
|
1657
1663
|
"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "Использование строки для оператора for...of поддерживается только в ECMAScript 5 и более поздних версиях.",
|
|
1658
1664
|
"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "Использование --build,-b заставит TSC вести себя больше как оркестратор сборки, чем как компилятор. Это используется для запуска создания составных проектов, о которых можно узнать больше на {0}",
|
|
1659
1665
|
"Using_compiler_options_of_project_reference_redirect_0_6215": "Использование параметров компилятора для перенаправления ссылки на проект \"{0}\".",
|