@typescript/native-preview-darwin-x64 7.0.0-dev.20250522.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/LICENSE +55 -0
- package/NOTICE.txt +297 -0
- package/README.md +3 -0
- package/lib/lib.d.ts +22 -0
- package/lib/lib.decorators.d.ts +386 -0
- package/lib/lib.decorators.legacy.d.ts +22 -0
- package/lib/lib.dom.asynciterable.d.ts +41 -0
- package/lib/lib.dom.d.ts +28087 -0
- package/lib/lib.dom.iterable.d.ts +491 -0
- package/lib/lib.es2015.collection.d.ts +147 -0
- package/lib/lib.es2015.core.d.ts +597 -0
- package/lib/lib.es2015.d.ts +28 -0
- package/lib/lib.es2015.generator.d.ts +77 -0
- package/lib/lib.es2015.iterable.d.ts +590 -0
- package/lib/lib.es2015.promise.d.ts +81 -0
- package/lib/lib.es2015.proxy.d.ts +128 -0
- package/lib/lib.es2015.reflect.d.ts +144 -0
- package/lib/lib.es2015.symbol.d.ts +46 -0
- package/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/lib/lib.es2016.array.include.d.ts +116 -0
- package/lib/lib.es2016.d.ts +21 -0
- package/lib/lib.es2016.full.d.ts +23 -0
- package/lib/lib.es2016.intl.d.ts +31 -0
- package/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/lib/lib.es2017.d.ts +26 -0
- package/lib/lib.es2017.date.d.ts +31 -0
- package/lib/lib.es2017.full.d.ts +23 -0
- package/lib/lib.es2017.intl.d.ts +44 -0
- package/lib/lib.es2017.object.d.ts +49 -0
- package/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/lib/lib.es2017.string.d.ts +45 -0
- package/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/lib/lib.es2018.asynciterable.d.ts +53 -0
- package/lib/lib.es2018.d.ts +24 -0
- package/lib/lib.es2018.full.d.ts +24 -0
- package/lib/lib.es2018.intl.d.ts +83 -0
- package/lib/lib.es2018.promise.d.ts +30 -0
- package/lib/lib.es2018.regexp.d.ts +37 -0
- package/lib/lib.es2019.array.d.ts +79 -0
- package/lib/lib.es2019.d.ts +24 -0
- package/lib/lib.es2019.full.d.ts +24 -0
- package/lib/lib.es2019.intl.d.ts +23 -0
- package/lib/lib.es2019.object.d.ts +33 -0
- package/lib/lib.es2019.string.d.ts +37 -0
- package/lib/lib.es2019.symbol.d.ts +24 -0
- package/lib/lib.es2020.bigint.d.ts +729 -0
- package/lib/lib.es2020.d.ts +27 -0
- package/lib/lib.es2020.date.d.ts +42 -0
- package/lib/lib.es2020.full.d.ts +24 -0
- package/lib/lib.es2020.intl.d.ts +474 -0
- package/lib/lib.es2020.number.d.ts +28 -0
- package/lib/lib.es2020.promise.d.ts +47 -0
- package/lib/lib.es2020.sharedmemory.d.ts +99 -0
- package/lib/lib.es2020.string.d.ts +44 -0
- package/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/lib/lib.es2021.d.ts +23 -0
- package/lib/lib.es2021.full.d.ts +24 -0
- package/lib/lib.es2021.intl.d.ts +166 -0
- package/lib/lib.es2021.promise.d.ts +48 -0
- package/lib/lib.es2021.string.d.ts +33 -0
- package/lib/lib.es2021.weakref.d.ts +78 -0
- package/lib/lib.es2022.array.d.ts +121 -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 +24 -0
- package/lib/lib.es2022.intl.d.ts +121 -0
- package/lib/lib.es2022.object.d.ts +26 -0
- package/lib/lib.es2022.regexp.d.ts +39 -0
- package/lib/lib.es2022.string.d.ts +25 -0
- package/lib/lib.es2023.array.d.ts +924 -0
- package/lib/lib.es2023.collection.d.ts +21 -0
- package/lib/lib.es2023.d.ts +22 -0
- package/lib/lib.es2023.full.d.ts +24 -0
- package/lib/lib.es2023.intl.d.ts +56 -0
- package/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/lib/lib.es2024.collection.d.ts +29 -0
- package/lib/lib.es2024.d.ts +26 -0
- package/lib/lib.es2024.full.d.ts +24 -0
- package/lib/lib.es2024.object.d.ts +29 -0
- package/lib/lib.es2024.promise.d.ts +35 -0
- package/lib/lib.es2024.regexp.d.ts +25 -0
- package/lib/lib.es2024.sharedmemory.d.ts +68 -0
- package/lib/lib.es2024.string.d.ts +29 -0
- package/lib/lib.es5.d.ts +4585 -0
- package/lib/lib.es6.d.ts +23 -0
- package/lib/lib.esnext.array.d.ts +35 -0
- package/lib/lib.esnext.collection.d.ts +96 -0
- package/lib/lib.esnext.d.ts +25 -0
- package/lib/lib.esnext.decorators.d.ts +28 -0
- package/lib/lib.esnext.disposable.d.ts +193 -0
- package/lib/lib.esnext.full.d.ts +24 -0
- package/lib/lib.esnext.intl.d.ts +21 -0
- package/lib/lib.esnext.iterator.d.ts +148 -0
- package/lib/lib.scripthost.d.ts +322 -0
- package/lib/lib.webworker.asynciterable.d.ts +41 -0
- package/lib/lib.webworker.d.ts +9410 -0
- package/lib/lib.webworker.importscripts.d.ts +23 -0
- package/lib/lib.webworker.iterable.d.ts +288 -0
- package/lib/tsgo +0 -0
- package/package.json +41 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/// <reference no-default-lib="true"/>
|
|
18
|
+
|
|
19
|
+
/////////////////////////////
|
|
20
|
+
/// WorkerGlobalScope APIs
|
|
21
|
+
/////////////////////////////
|
|
22
|
+
// These are only available in a Web Worker
|
|
23
|
+
declare function importScripts(...urls: string[]): void;
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/// <reference no-default-lib="true"/>
|
|
18
|
+
|
|
19
|
+
/////////////////////////////
|
|
20
|
+
/// Worker Iterable APIs
|
|
21
|
+
/////////////////////////////
|
|
22
|
+
|
|
23
|
+
interface AbortSignal {
|
|
24
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
|
|
25
|
+
any(signals: Iterable<AbortSignal>): AbortSignal;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface CSSNumericArray {
|
|
29
|
+
[Symbol.iterator](): ArrayIterator<CSSNumericValue>;
|
|
30
|
+
entries(): ArrayIterator<[number, CSSNumericValue]>;
|
|
31
|
+
keys(): ArrayIterator<number>;
|
|
32
|
+
values(): ArrayIterator<CSSNumericValue>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface CSSTransformValue {
|
|
36
|
+
[Symbol.iterator](): ArrayIterator<CSSTransformComponent>;
|
|
37
|
+
entries(): ArrayIterator<[number, CSSTransformComponent]>;
|
|
38
|
+
keys(): ArrayIterator<number>;
|
|
39
|
+
values(): ArrayIterator<CSSTransformComponent>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
interface CSSUnparsedValue {
|
|
43
|
+
[Symbol.iterator](): ArrayIterator<CSSUnparsedSegment>;
|
|
44
|
+
entries(): ArrayIterator<[number, CSSUnparsedSegment]>;
|
|
45
|
+
keys(): ArrayIterator<number>;
|
|
46
|
+
values(): ArrayIterator<CSSUnparsedSegment>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
interface Cache {
|
|
50
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
|
|
51
|
+
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
interface CanvasPath {
|
|
55
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
|
|
56
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface CanvasPathDrawingStyles {
|
|
60
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
|
|
61
|
+
setLineDash(segments: Iterable<number>): void;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface DOMStringList {
|
|
65
|
+
[Symbol.iterator](): ArrayIterator<string>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
interface FileList {
|
|
69
|
+
[Symbol.iterator](): ArrayIterator<File>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface FontFaceSet extends Set<FontFace> {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
interface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
76
|
+
[Symbol.iterator](): FormDataIterator<T>;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
interface FormData {
|
|
80
|
+
[Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;
|
|
81
|
+
/** Returns an array of key, value pairs for every entry in the list. */
|
|
82
|
+
entries(): FormDataIterator<[string, FormDataEntryValue]>;
|
|
83
|
+
/** Returns a list of keys in the list. */
|
|
84
|
+
keys(): FormDataIterator<string>;
|
|
85
|
+
/** Returns a list of values in the list. */
|
|
86
|
+
values(): FormDataIterator<FormDataEntryValue>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
90
|
+
[Symbol.iterator](): HeadersIterator<T>;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
interface Headers {
|
|
94
|
+
[Symbol.iterator](): HeadersIterator<[string, string]>;
|
|
95
|
+
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
|
96
|
+
entries(): HeadersIterator<[string, string]>;
|
|
97
|
+
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
|
98
|
+
keys(): HeadersIterator<string>;
|
|
99
|
+
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
|
100
|
+
values(): HeadersIterator<string>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
interface IDBDatabase {
|
|
104
|
+
/**
|
|
105
|
+
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
|
|
106
|
+
*
|
|
107
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
|
108
|
+
*/
|
|
109
|
+
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
interface IDBObjectStore {
|
|
113
|
+
/**
|
|
114
|
+
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
|
|
115
|
+
*
|
|
116
|
+
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
|
117
|
+
*
|
|
118
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
119
|
+
*/
|
|
120
|
+
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
interface MessageEvent<T = any> {
|
|
124
|
+
/** @deprecated */
|
|
125
|
+
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
129
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
interface StylePropertyMapReadOnly {
|
|
133
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
134
|
+
entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
135
|
+
keys(): StylePropertyMapReadOnlyIterator<string>;
|
|
136
|
+
values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
interface SubtleCrypto {
|
|
140
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
141
|
+
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
142
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
|
|
143
|
+
generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
|
144
|
+
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
145
|
+
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
146
|
+
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
|
147
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
|
|
148
|
+
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
149
|
+
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
150
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
|
|
151
|
+
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
|
155
|
+
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
interface URLSearchParams {
|
|
159
|
+
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
|
|
160
|
+
/** Returns an array of key, value pairs for every entry in the search params. */
|
|
161
|
+
entries(): URLSearchParamsIterator<[string, string]>;
|
|
162
|
+
/** Returns a list of keys in the search params. */
|
|
163
|
+
keys(): URLSearchParamsIterator<string>;
|
|
164
|
+
/** Returns a list of values in the search params. */
|
|
165
|
+
values(): URLSearchParamsIterator<string>;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
interface WEBGL_draw_buffers {
|
|
169
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
|
170
|
+
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
interface WEBGL_multi_draw {
|
|
174
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
175
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
176
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
|
177
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
|
178
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
|
179
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
180
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
|
181
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
interface WebGL2RenderingContextBase {
|
|
185
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
186
|
+
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|
|
187
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
188
|
+
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;
|
|
189
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
190
|
+
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;
|
|
191
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
|
192
|
+
drawBuffers(buffers: Iterable<GLenum>): void;
|
|
193
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
194
|
+
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
|
195
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
|
196
|
+
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
|
|
197
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
|
198
|
+
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
|
199
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
|
200
|
+
invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
|
201
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
|
202
|
+
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
|
203
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
204
|
+
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
205
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
206
|
+
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
207
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
208
|
+
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
209
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
210
|
+
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
211
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
212
|
+
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
213
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
214
|
+
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
215
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
216
|
+
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
217
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
218
|
+
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
219
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
220
|
+
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
221
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
222
|
+
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
223
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
224
|
+
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
|
225
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
226
|
+
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
interface WebGL2RenderingContextOverloads {
|
|
230
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
231
|
+
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
232
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
233
|
+
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
234
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
235
|
+
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
236
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
237
|
+
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
238
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
239
|
+
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
240
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
241
|
+
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
242
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
243
|
+
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
244
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
245
|
+
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
246
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
247
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
248
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
249
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
250
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
251
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
interface WebGLRenderingContextBase {
|
|
255
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
256
|
+
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
257
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
258
|
+
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
259
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
260
|
+
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
261
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
262
|
+
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
interface WebGLRenderingContextOverloads {
|
|
266
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
267
|
+
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
268
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
269
|
+
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
270
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
271
|
+
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
272
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
273
|
+
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
274
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
275
|
+
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
276
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
277
|
+
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
278
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
279
|
+
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
280
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
281
|
+
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
282
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
283
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
284
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
285
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
286
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
287
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
288
|
+
}
|
package/lib/tsgo
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@typescript/native-preview-darwin-x64",
|
|
3
|
+
"version": "7.0.0-dev.20250522.2",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"author": "Microsoft Corp.",
|
|
6
|
+
"homepage": "https://www.typescriptlang.org/",
|
|
7
|
+
"description": "Preview CLI of the native TypeScript compiler port",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"TypeScript",
|
|
10
|
+
"Microsoft",
|
|
11
|
+
"compiler",
|
|
12
|
+
"language",
|
|
13
|
+
"javascript",
|
|
14
|
+
"tsgo"
|
|
15
|
+
],
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/microsoft/typescript-go/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/microsoft/typescript-go.git"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"type": "module",
|
|
27
|
+
"preferUnplugged": true,
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=20.6.0"
|
|
30
|
+
},
|
|
31
|
+
"exports": {
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
"gitHead": "63a2365d9e432abc00568407087ffc82f5609cb5",
|
|
35
|
+
"os": [
|
|
36
|
+
"darwin"
|
|
37
|
+
],
|
|
38
|
+
"cpu": [
|
|
39
|
+
"x64"
|
|
40
|
+
]
|
|
41
|
+
}
|