Skip to content

Commit b03146d

Browse files
anonrigRafaelGSS
authored andcommitted
typings: remove unused primordials
PR-URL: #48509 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0da03f0 commit b03146d

File tree

1 file changed

+0
-66
lines changed

1 file changed

+0
-66
lines changed

‎typings/primordials.d.ts‎

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,8 @@ declare namespace primordials{
106106
exportconstReflectSet: typeofReflect.set
107107
exportconstReflectSetPrototypeOf: typeofReflect.setPrototypeOf
108108
exportimportAggregateError=globalThis.AggregateError;
109-
exportconstAggregateErrorLength: typeofAggregateError.length
110-
exportconstAggregateErrorName: typeofAggregateError.name
111109
exportconstAggregateErrorPrototype: typeofAggregateError.prototype
112110
exportimportArray=globalThis.Array;
113-
exportconstArrayLength: typeofArray.length
114-
exportconstArrayName: typeofArray.name
115111
exportconstArrayPrototype: typeofArray.prototype
116112
exportconstArrayIsArray: typeofArray.isArray
117113
exportconstArrayFrom: typeofArray.from
@@ -151,40 +147,28 @@ declare namespace primordials{
151147
exportconstArrayPrototypeToString: UncurryThis<typeofArray.prototype.toString>
152148
exportconstArrayPrototypeSymbolIterator: UncurryMethod<typeofArray.prototype,typeofSymbol.iterator>;
153149
exportimportArrayBuffer=globalThis.ArrayBuffer;
154-
exportconstArrayBufferLength: typeofArrayBuffer.length
155-
exportconstArrayBufferName: typeofArrayBuffer.name
156150
exportconstArrayBufferPrototype: typeofArrayBuffer.prototype
157151
exportconstArrayBufferIsView: typeofArrayBuffer.isView
158152
exportconstArrayBufferPrototypeSlice: UncurryThis<typeofArrayBuffer.prototype.slice>
159153
exportconstAsyncIteratorPrototype: AsyncIterable<any>;
160154
exportimportBigInt=globalThis.BigInt;
161-
exportconstBigIntLength: typeofBigInt.length
162-
exportconstBigIntName: typeofBigInt.name
163155
exportconstBigIntPrototype: typeofBigInt.prototype
164156
exportconstBigIntAsUintN: typeofBigInt.asUintN
165157
exportconstBigIntAsIntN: typeofBigInt.asIntN
166158
exportconstBigIntPrototypeToLocaleString: UncurryThis<typeofBigInt.prototype.toLocaleString>
167159
exportconstBigIntPrototypeToString: UncurryThis<typeofBigInt.prototype.toString>
168160
exportconstBigIntPrototypeValueOf: UncurryThis<typeofBigInt.prototype.valueOf>
169161
exportimportBigInt64Array=globalThis.BigInt64Array;
170-
exportconstBigInt64ArrayLength: typeofBigInt64Array.length
171-
exportconstBigInt64ArrayName: typeofBigInt64Array.name
172162
exportconstBigInt64ArrayPrototype: typeofBigInt64Array.prototype
173163
exportconstBigInt64ArrayBYTES_PER_ELEMENT: typeofBigInt64Array.BYTES_PER_ELEMENT
174164
exportimportBigUint64Array=globalThis.BigUint64Array;
175-
exportconstBigUint64ArrayLength: typeofBigUint64Array.length
176-
exportconstBigUint64ArrayName: typeofBigUint64Array.name
177165
exportconstBigUint64ArrayPrototype: typeofBigUint64Array.prototype
178166
exportconstBigUint64ArrayBYTES_PER_ELEMENT: typeofBigUint64Array.BYTES_PER_ELEMENT
179167
exportimportBoolean=globalThis.Boolean;
180-
exportconstBooleanLength: typeofBoolean.length
181-
exportconstBooleanName: typeofBoolean.name
182168
exportconstBooleanPrototype: typeofBoolean.prototype
183169
exportconstBooleanPrototypeToString: UncurryThis<typeofBoolean.prototype.toString>
184170
exportconstBooleanPrototypeValueOf: UncurryThis<typeofBoolean.prototype.valueOf>
185171
exportimportDataView=globalThis.DataView;
186-
exportconstDataViewLength: typeofDataView.length
187-
exportconstDataViewName: typeofDataView.name
188172
exportconstDataViewPrototype: typeofDataView.prototype
189173
exportconstDataViewPrototypeGetInt8: UncurryThis<typeofDataView.prototype.getInt8>
190174
exportconstDataViewPrototypeSetInt8: UncurryThis<typeofDataView.prototype.setInt8>
@@ -210,8 +194,6 @@ declare namespace primordials{
210194
exportconstDataViewPrototypeGetByteLength: UncurryGetter<typeofDataView.prototype,"byteLength">;
211195
exportconstDataViewPrototypeGetByteOffset: UncurryGetter<typeofDataView.prototype,"byteOffset">;
212196
exportimportDate=globalThis.Date;
213-
exportconstDateLength: typeofDate.length
214-
exportconstDateName: typeofDate.name
215197
exportconstDatePrototype: typeofDate.prototype
216198
exportconstDateNow: typeofDate.now
217199
exportconstDateParse: typeofDate.parse
@@ -264,24 +246,16 @@ declare namespace primordials{
264246
exportconstDatePrototypeToLocaleTimeString: UncurryThis<typeofDate.prototype.toLocaleTimeString>
265247
exportconstDatePrototypeSymbolToPrimitive: UncurryMethod<typeofDate.prototype,typeofSymbol.toPrimitive>;
266248
exportimportError=globalThis.Error;
267-
exportconstErrorLength: typeofError.length
268-
exportconstErrorName: typeofError.name
269249
exportconstErrorPrototype: typeofError.prototype
270250
exportconstErrorCaptureStackTrace: typeofError.captureStackTrace
271251
exportconstErrorStackTraceLimit: typeofError.stackTraceLimit
272252
exportconstErrorPrototypeToString: UncurryThis<typeofError.prototype.toString>
273253
exportimportEvalError=globalThis.EvalError;
274-
exportconstEvalErrorLength: typeofEvalError.length
275-
exportconstEvalErrorName: typeofEvalError.name
276254
exportconstEvalErrorPrototype: typeofEvalError.prototype
277255
exportimportFloat32Array=globalThis.Float32Array;
278-
exportconstFloat32ArrayLength: typeofFloat32Array.length
279-
exportconstFloat32ArrayName: typeofFloat32Array.name
280256
exportconstFloat32ArrayPrototype: typeofFloat32Array.prototype
281257
exportconstFloat32ArrayBYTES_PER_ELEMENT: typeofFloat32Array.BYTES_PER_ELEMENT
282258
exportimportFloat64Array=globalThis.Float64Array;
283-
exportconstFloat64ArrayLength: typeofFloat64Array.length
284-
exportconstFloat64ArrayName: typeofFloat64Array.name
285259
exportconstFloat64ArrayPrototype: typeofFloat64Array.prototype
286260
exportconstFloat64ArrayBYTES_PER_ELEMENT: typeofFloat64Array.BYTES_PER_ELEMENT
287261
exportimportFunction=globalThis.Function;
@@ -293,23 +267,15 @@ declare namespace primordials{
293267
exportconstFunctionPrototypeCall: UncurryThis<typeofFunction.prototype.call>
294268
exportconstFunctionPrototypeToString: UncurryThis<typeofFunction.prototype.toString>
295269
exportimportInt16Array=globalThis.Int16Array;
296-
exportconstInt16ArrayLength: typeofInt16Array.length
297-
exportconstInt16ArrayName: typeofInt16Array.name
298270
exportconstInt16ArrayPrototype: typeofInt16Array.prototype
299271
exportconstInt16ArrayBYTES_PER_ELEMENT: typeofInt16Array.BYTES_PER_ELEMENT
300272
exportimportInt32Array=globalThis.Int32Array;
301-
exportconstInt32ArrayLength: typeofInt32Array.length
302-
exportconstInt32ArrayName: typeofInt32Array.name
303273
exportconstInt32ArrayPrototype: typeofInt32Array.prototype
304274
exportconstInt32ArrayBYTES_PER_ELEMENT: typeofInt32Array.BYTES_PER_ELEMENT
305275
exportimportInt8Array=globalThis.Int8Array;
306-
exportconstInt8ArrayLength: typeofInt8Array.length
307-
exportconstInt8ArrayName: typeofInt8Array.name
308276
exportconstInt8ArrayPrototype: typeofInt8Array.prototype
309277
exportconstInt8ArrayBYTES_PER_ELEMENT: typeofInt8Array.BYTES_PER_ELEMENT
310278
exportimportMap=globalThis.Map;
311-
exportconstMapLength: typeofMap.length
312-
exportconstMapName: typeofMap.name
313279
exportconstMapPrototype: typeofMap.prototype
314280
exportconstMapPrototypeGet: UncurryThis<typeofMap.prototype.get>
315281
exportconstMapPrototypeSet: UncurryThis<typeofMap.prototype.set>
@@ -322,8 +288,6 @@ declare namespace primordials{
322288
exportconstMapPrototypeValues: UncurryThis<typeofMap.prototype.values>
323289
exportconstMapPrototypeGetSize: UncurryGetter<typeofMap.prototype,"size">;
324290
exportimportNumber=globalThis.Number;
325-
exportconstNumberLength: typeofNumber.length
326-
exportconstNumberName: typeofNumber.name
327291
exportconstNumberPrototype: typeofNumber.prototype
328292
exportconstNumberIsFinite: typeofNumber.isFinite
329293
exportconstNumberIsInteger: typeofNumber.isInteger
@@ -346,8 +310,6 @@ declare namespace primordials{
346310
exportconstNumberPrototypeValueOf: UncurryThis<typeofNumber.prototype.valueOf>
347311
exportconstNumberPrototypeToLocaleString: UncurryThis<typeofNumber.prototype.toLocaleString>
348312
exportimportObject=globalThis.Object;
349-
exportconstObjectLength: typeofObject.length
350-
exportconstObjectName: typeofObject.name
351313
exportconstObjectPrototype: typeofObject.prototype
352314
exportconstObjectAssign: typeofObject.assign
353315
exportconstObjectGetOwnPropertyDescriptor: typeofObject.getOwnPropertyDescriptor
@@ -381,16 +343,10 @@ declare namespace primordials{
381343
exportconstObjectPrototypeValueOf: UncurryThis<typeofObject.prototype.valueOf>
382344
exportconstObjectPrototypeToLocaleString: UncurryThis<typeofObject.prototype.toLocaleString>
383345
exportimportRangeError=globalThis.RangeError;
384-
exportconstRangeErrorLength: typeofRangeError.length
385-
exportconstRangeErrorName: typeofRangeError.name
386346
exportconstRangeErrorPrototype: typeofRangeError.prototype
387347
exportimportReferenceError=globalThis.ReferenceError;
388-
exportconstReferenceErrorLength: typeofReferenceError.length
389-
exportconstReferenceErrorName: typeofReferenceError.name
390348
exportconstReferenceErrorPrototype: typeofReferenceError.prototype
391349
exportimportRegExp=globalThis.RegExp;
392-
exportconstRegExpLength: typeofRegExp.length
393-
exportconstRegExpName: typeofRegExp.name
394350
exportconstRegExpPrototype: typeofRegExp.prototype
395351
exportconstRegExpPrototypeExec: UncurryThis<typeofRegExp.prototype.exec>
396352
exportconstRegExpPrototypeCompile: UncurryThis<typeofRegExp.prototype.compile>
@@ -474,8 +430,6 @@ declare namespace primordials{
474430
exportconstStringPrototypeValueOf: UncurryThis<typeofString.prototype.valueOf>
475431
exportconstStringPrototypeReplaceAll: UncurryThis<typeofString.prototype.replaceAll>
476432
exportimportSymbol=globalThis.Symbol;
477-
exportconstSymbolLength: typeofSymbol.length
478-
exportconstSymbolName: typeofSymbol.name
479433
exportconstSymbolPrototype: typeofSymbol.prototype
480434
exportconstSymbolFor: typeofSymbol.for
481435
exportconstSymbolKeyFor: typeofSymbol.keyFor
@@ -497,12 +451,8 @@ declare namespace primordials{
497451
exportconstSymbolPrototypeSymbolToPrimitive: UncurryMethod<typeofSymbol.prototype,typeofSymbol.toPrimitive,symbol|Symbol>;
498452
exportconstSymbolPrototypeGetDescription: UncurryGetter<typeofSymbol.prototype,"description",symbol|Symbol>;
499453
exportimportSyntaxError=globalThis.SyntaxError;
500-
exportconstSyntaxErrorLength: typeofSyntaxError.length
501-
exportconstSyntaxErrorName: typeofSyntaxError.name
502454
exportconstSyntaxErrorPrototype: typeofSyntaxError.prototype
503455
exportimportTypeError=globalThis.TypeError;
504-
exportconstTypeErrorLength: typeofTypeError.length
505-
exportconstTypeErrorName: typeofTypeError.name
506456
exportconstTypeErrorPrototype: typeofTypeError.prototype
507457
exportfunctionTypedArrayFrom<TextendsTypedArray>(
508458
constructor: new(length: number)=>T,
@@ -546,47 +496,31 @@ declare namespace primordials{
546496
|'Float64Array'
547497
|undefined;
548498
exportimportURIError=globalThis.URIError;
549-
exportconstURIErrorLength: typeofURIError.length
550-
exportconstURIErrorName: typeofURIError.name
551499
exportconstURIErrorPrototype: typeofURIError.prototype
552500
exportimportUint16Array=globalThis.Uint16Array;
553-
exportconstUint16ArrayLength: typeofUint16Array.length
554-
exportconstUint16ArrayName: typeofUint16Array.name
555501
exportconstUint16ArrayPrototype: typeofUint16Array.prototype
556502
exportconstUint16ArrayBYTES_PER_ELEMENT: typeofUint16Array.BYTES_PER_ELEMENT
557503
exportimportUint32Array=globalThis.Uint32Array;
558-
exportconstUint32ArrayLength: typeofUint32Array.length
559-
exportconstUint32ArrayName: typeofUint32Array.name
560504
exportconstUint32ArrayPrototype: typeofUint32Array.prototype
561505
exportconstUint32ArrayBYTES_PER_ELEMENT: typeofUint32Array.BYTES_PER_ELEMENT
562506
exportimportUint8Array=globalThis.Uint8Array;
563-
exportconstUint8ArrayLength: typeofUint8Array.length
564-
exportconstUint8ArrayName: typeofUint8Array.name
565507
exportconstUint8ArrayPrototype: typeofUint8Array.prototype
566508
exportconstUint8ArrayBYTES_PER_ELEMENT: typeofUint8Array.BYTES_PER_ELEMENT
567509
exportimportUint8ClampedArray=globalThis.Uint8ClampedArray;
568-
exportconstUint8ClampedArrayLength: typeofUint8ClampedArray.length
569-
exportconstUint8ClampedArrayName: typeofUint8ClampedArray.name
570510
exportconstUint8ClampedArrayPrototype: typeofUint8ClampedArray.prototype
571511
exportconstUint8ClampedArrayBYTES_PER_ELEMENT: typeofUint8ClampedArray.BYTES_PER_ELEMENT
572512
exportimportWeakMap=globalThis.WeakMap;
573-
exportconstWeakMapLength: typeofWeakMap.length
574-
exportconstWeakMapName: typeofWeakMap.name
575513
exportconstWeakMapPrototype: typeofWeakMap.prototype
576514
exportconstWeakMapPrototypeDelete: UncurryThis<typeofWeakMap.prototype.delete>
577515
exportconstWeakMapPrototypeGet: UncurryThis<typeofWeakMap.prototype.get>
578516
exportconstWeakMapPrototypeSet: UncurryThis<typeofWeakMap.prototype.set>
579517
exportconstWeakMapPrototypeHas: UncurryThis<typeofWeakMap.prototype.has>
580518
exportimportWeakSet=globalThis.WeakSet;
581-
exportconstWeakSetLength: typeofWeakSet.length
582-
exportconstWeakSetName: typeofWeakSet.name
583519
exportconstWeakSetPrototype: typeofWeakSet.prototype
584520
exportconstWeakSetPrototypeDelete: UncurryThis<typeofWeakSet.prototype.delete>
585521
exportconstWeakSetPrototypeHas: UncurryThis<typeofWeakSet.prototype.has>
586522
exportconstWeakSetPrototypeAdd: UncurryThis<typeofWeakSet.prototype.add>
587523
exportimportPromise=globalThis.Promise;
588-
exportconstPromiseLength: typeofPromise.length
589-
exportconstPromiseName: typeofPromise.name
590524
exportconstPromisePrototype: typeofPromise.prototype
591525
exportconstPromiseAll: typeofPromise.all
592526
exportconstPromiseRace: typeofPromise.race

0 commit comments

Comments
(0)