Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b03146d

Browse filesBrowse files
anonrigRafaelGSS
authored andcommitted
typings: remove unused primordials
PR-URL: #48509 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 0da03f0 commit b03146d
Copy full SHA for b03146d

File tree

Expand file treeCollapse file tree

1 file changed

+0
-66
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-66
lines changed
Open diff view settings
Collapse file

‎typings/primordials.d.ts‎

Copy file name to clipboardExpand all lines: typings/primordials.d.ts
-66Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,8 @@ declare namespace primordials {
106106
export const ReflectSet: typeof Reflect.set
107107
export const ReflectSetPrototypeOf: typeof Reflect.setPrototypeOf
108108
export import AggregateError = globalThis.AggregateError;
109-
export const AggregateErrorLength: typeof AggregateError.length
110-
export const AggregateErrorName: typeof AggregateError.name
111109
export const AggregateErrorPrototype: typeof AggregateError.prototype
112110
export import Array = globalThis.Array;
113-
export const ArrayLength: typeof Array.length
114-
export const ArrayName: typeof Array.name
115111
export const ArrayPrototype: typeof Array.prototype
116112
export const ArrayIsArray: typeof Array.isArray
117113
export const ArrayFrom: typeof Array.from
@@ -151,40 +147,28 @@ declare namespace primordials {
151147
export const ArrayPrototypeToString: UncurryThis<typeof Array.prototype.toString>
152148
export const ArrayPrototypeSymbolIterator: UncurryMethod<typeof Array.prototype, typeof Symbol.iterator>;
153149
export import ArrayBuffer = globalThis.ArrayBuffer;
154-
export const ArrayBufferLength: typeof ArrayBuffer.length
155-
export const ArrayBufferName: typeof ArrayBuffer.name
156150
export const ArrayBufferPrototype: typeof ArrayBuffer.prototype
157151
export const ArrayBufferIsView: typeof ArrayBuffer.isView
158152
export const ArrayBufferPrototypeSlice: UncurryThis<typeof ArrayBuffer.prototype.slice>
159153
export const AsyncIteratorPrototype: AsyncIterable<any>;
160154
export import BigInt = globalThis.BigInt;
161-
export const BigIntLength: typeof BigInt.length
162-
export const BigIntName: typeof BigInt.name
163155
export const BigIntPrototype: typeof BigInt.prototype
164156
export const BigIntAsUintN: typeof BigInt.asUintN
165157
export const BigIntAsIntN: typeof BigInt.asIntN
166158
export const BigIntPrototypeToLocaleString: UncurryThis<typeof BigInt.prototype.toLocaleString>
167159
export const BigIntPrototypeToString: UncurryThis<typeof BigInt.prototype.toString>
168160
export const BigIntPrototypeValueOf: UncurryThis<typeof BigInt.prototype.valueOf>
169161
export import BigInt64Array = globalThis.BigInt64Array;
170-
export const BigInt64ArrayLength: typeof BigInt64Array.length
171-
export const BigInt64ArrayName: typeof BigInt64Array.name
172162
export const BigInt64ArrayPrototype: typeof BigInt64Array.prototype
173163
export const BigInt64ArrayBYTES_PER_ELEMENT: typeof BigInt64Array.BYTES_PER_ELEMENT
174164
export import BigUint64Array = globalThis.BigUint64Array;
175-
export const BigUint64ArrayLength: typeof BigUint64Array.length
176-
export const BigUint64ArrayName: typeof BigUint64Array.name
177165
export const BigUint64ArrayPrototype: typeof BigUint64Array.prototype
178166
export const BigUint64ArrayBYTES_PER_ELEMENT: typeof BigUint64Array.BYTES_PER_ELEMENT
179167
export import Boolean = globalThis.Boolean;
180-
export const BooleanLength: typeof Boolean.length
181-
export const BooleanName: typeof Boolean.name
182168
export const BooleanPrototype: typeof Boolean.prototype
183169
export const BooleanPrototypeToString: UncurryThis<typeof Boolean.prototype.toString>
184170
export const BooleanPrototypeValueOf: UncurryThis<typeof Boolean.prototype.valueOf>
185171
export import DataView = globalThis.DataView;
186-
export const DataViewLength: typeof DataView.length
187-
export const DataViewName: typeof DataView.name
188172
export const DataViewPrototype: typeof DataView.prototype
189173
export const DataViewPrototypeGetInt8: UncurryThis<typeof DataView.prototype.getInt8>
190174
export const DataViewPrototypeSetInt8: UncurryThis<typeof DataView.prototype.setInt8>
@@ -210,8 +194,6 @@ declare namespace primordials {
210194
export const DataViewPrototypeGetByteLength: UncurryGetter<typeof DataView.prototype, "byteLength">;
211195
export const DataViewPrototypeGetByteOffset: UncurryGetter<typeof DataView.prototype, "byteOffset">;
212196
export import Date = globalThis.Date;
213-
export const DateLength: typeof Date.length
214-
export const DateName: typeof Date.name
215197
export const DatePrototype: typeof Date.prototype
216198
export const DateNow: typeof Date.now
217199
export const DateParse: typeof Date.parse
@@ -264,24 +246,16 @@ declare namespace primordials {
264246
export const DatePrototypeToLocaleTimeString: UncurryThis<typeof Date.prototype.toLocaleTimeString>
265247
export const DatePrototypeSymbolToPrimitive: UncurryMethod<typeof Date.prototype, typeof Symbol.toPrimitive>;
266248
export import Error = globalThis.Error;
267-
export const ErrorLength: typeof Error.length
268-
export const ErrorName: typeof Error.name
269249
export const ErrorPrototype: typeof Error.prototype
270250
export const ErrorCaptureStackTrace: typeof Error.captureStackTrace
271251
export const ErrorStackTraceLimit: typeof Error.stackTraceLimit
272252
export const ErrorPrototypeToString: UncurryThis<typeof Error.prototype.toString>
273253
export import EvalError = globalThis.EvalError;
274-
export const EvalErrorLength: typeof EvalError.length
275-
export const EvalErrorName: typeof EvalError.name
276254
export const EvalErrorPrototype: typeof EvalError.prototype
277255
export import Float32Array = globalThis.Float32Array;
278-
export const Float32ArrayLength: typeof Float32Array.length
279-
export const Float32ArrayName: typeof Float32Array.name
280256
export const Float32ArrayPrototype: typeof Float32Array.prototype
281257
export const Float32ArrayBYTES_PER_ELEMENT: typeof Float32Array.BYTES_PER_ELEMENT
282258
export import Float64Array = globalThis.Float64Array;
283-
export const Float64ArrayLength: typeof Float64Array.length
284-
export const Float64ArrayName: typeof Float64Array.name
285259
export const Float64ArrayPrototype: typeof Float64Array.prototype
286260
export const Float64ArrayBYTES_PER_ELEMENT: typeof Float64Array.BYTES_PER_ELEMENT
287261
export import Function = globalThis.Function;
@@ -293,23 +267,15 @@ declare namespace primordials {
293267
export const FunctionPrototypeCall: UncurryThis<typeof Function.prototype.call>
294268
export const FunctionPrototypeToString: UncurryThis<typeof Function.prototype.toString>
295269
export import Int16Array = globalThis.Int16Array;
296-
export const Int16ArrayLength: typeof Int16Array.length
297-
export const Int16ArrayName: typeof Int16Array.name
298270
export const Int16ArrayPrototype: typeof Int16Array.prototype
299271
export const Int16ArrayBYTES_PER_ELEMENT: typeof Int16Array.BYTES_PER_ELEMENT
300272
export import Int32Array = globalThis.Int32Array;
301-
export const Int32ArrayLength: typeof Int32Array.length
302-
export const Int32ArrayName: typeof Int32Array.name
303273
export const Int32ArrayPrototype: typeof Int32Array.prototype
304274
export const Int32ArrayBYTES_PER_ELEMENT: typeof Int32Array.BYTES_PER_ELEMENT
305275
export import Int8Array = globalThis.Int8Array;
306-
export const Int8ArrayLength: typeof Int8Array.length
307-
export const Int8ArrayName: typeof Int8Array.name
308276
export const Int8ArrayPrototype: typeof Int8Array.prototype
309277
export const Int8ArrayBYTES_PER_ELEMENT: typeof Int8Array.BYTES_PER_ELEMENT
310278
export import Map = globalThis.Map;
311-
export const MapLength: typeof Map.length
312-
export const MapName: typeof Map.name
313279
export const MapPrototype: typeof Map.prototype
314280
export const MapPrototypeGet: UncurryThis<typeof Map.prototype.get>
315281
export const MapPrototypeSet: UncurryThis<typeof Map.prototype.set>
@@ -322,8 +288,6 @@ declare namespace primordials {
322288
export const MapPrototypeValues: UncurryThis<typeof Map.prototype.values>
323289
export const MapPrototypeGetSize: UncurryGetter<typeof Map.prototype, "size">;
324290
export import Number = globalThis.Number;
325-
export const NumberLength: typeof Number.length
326-
export const NumberName: typeof Number.name
327291
export const NumberPrototype: typeof Number.prototype
328292
export const NumberIsFinite: typeof Number.isFinite
329293
export const NumberIsInteger: typeof Number.isInteger
@@ -346,8 +310,6 @@ declare namespace primordials {
346310
export const NumberPrototypeValueOf: UncurryThis<typeof Number.prototype.valueOf>
347311
export const NumberPrototypeToLocaleString: UncurryThis<typeof Number.prototype.toLocaleString>
348312
export import Object = globalThis.Object;
349-
export const ObjectLength: typeof Object.length
350-
export const ObjectName: typeof Object.name
351313
export const ObjectPrototype: typeof Object.prototype
352314
export const ObjectAssign: typeof Object.assign
353315
export const ObjectGetOwnPropertyDescriptor: typeof Object.getOwnPropertyDescriptor
@@ -381,16 +343,10 @@ declare namespace primordials {
381343
export const ObjectPrototypeValueOf: UncurryThis<typeof Object.prototype.valueOf>
382344
export const ObjectPrototypeToLocaleString: UncurryThis<typeof Object.prototype.toLocaleString>
383345
export import RangeError = globalThis.RangeError;
384-
export const RangeErrorLength: typeof RangeError.length
385-
export const RangeErrorName: typeof RangeError.name
386346
export const RangeErrorPrototype: typeof RangeError.prototype
387347
export import ReferenceError = globalThis.ReferenceError;
388-
export const ReferenceErrorLength: typeof ReferenceError.length
389-
export const ReferenceErrorName: typeof ReferenceError.name
390348
export const ReferenceErrorPrototype: typeof ReferenceError.prototype
391349
export import RegExp = globalThis.RegExp;
392-
export const RegExpLength: typeof RegExp.length
393-
export const RegExpName: typeof RegExp.name
394350
export const RegExpPrototype: typeof RegExp.prototype
395351
export const RegExpPrototypeExec: UncurryThis<typeof RegExp.prototype.exec>
396352
export const RegExpPrototypeCompile: UncurryThis<typeof RegExp.prototype.compile>
@@ -474,8 +430,6 @@ declare namespace primordials {
474430
export const StringPrototypeValueOf: UncurryThis<typeof String.prototype.valueOf>
475431
export const StringPrototypeReplaceAll: UncurryThis<typeof String.prototype.replaceAll>
476432
export import Symbol = globalThis.Symbol;
477-
export const SymbolLength: typeof Symbol.length
478-
export const SymbolName: typeof Symbol.name
479433
export const SymbolPrototype: typeof Symbol.prototype
480434
export const SymbolFor: typeof Symbol.for
481435
export const SymbolKeyFor: typeof Symbol.keyFor
@@ -497,12 +451,8 @@ declare namespace primordials {
497451
export const SymbolPrototypeSymbolToPrimitive: UncurryMethod<typeof Symbol.prototype, typeof Symbol.toPrimitive, symbol | Symbol>;
498452
export const SymbolPrototypeGetDescription: UncurryGetter<typeof Symbol.prototype, "description", symbol | Symbol>;
499453
export import SyntaxError = globalThis.SyntaxError;
500-
export const SyntaxErrorLength: typeof SyntaxError.length
501-
export const SyntaxErrorName: typeof SyntaxError.name
502454
export const SyntaxErrorPrototype: typeof SyntaxError.prototype
503455
export import TypeError = globalThis.TypeError;
504-
export const TypeErrorLength: typeof TypeError.length
505-
export const TypeErrorName: typeof TypeError.name
506456
export const TypeErrorPrototype: typeof TypeError.prototype
507457
export function TypedArrayFrom<T extends TypedArray>(
508458
constructor: new (length: number) => T,
@@ -546,47 +496,31 @@ declare namespace primordials {
546496
| 'Float64Array'
547497
| undefined;
548498
export import URIError = globalThis.URIError;
549-
export const URIErrorLength: typeof URIError.length
550-
export const URIErrorName: typeof URIError.name
551499
export const URIErrorPrototype: typeof URIError.prototype
552500
export import Uint16Array = globalThis.Uint16Array;
553-
export const Uint16ArrayLength: typeof Uint16Array.length
554-
export const Uint16ArrayName: typeof Uint16Array.name
555501
export const Uint16ArrayPrototype: typeof Uint16Array.prototype
556502
export const Uint16ArrayBYTES_PER_ELEMENT: typeof Uint16Array.BYTES_PER_ELEMENT
557503
export import Uint32Array = globalThis.Uint32Array;
558-
export const Uint32ArrayLength: typeof Uint32Array.length
559-
export const Uint32ArrayName: typeof Uint32Array.name
560504
export const Uint32ArrayPrototype: typeof Uint32Array.prototype
561505
export const Uint32ArrayBYTES_PER_ELEMENT: typeof Uint32Array.BYTES_PER_ELEMENT
562506
export import Uint8Array = globalThis.Uint8Array;
563-
export const Uint8ArrayLength: typeof Uint8Array.length
564-
export const Uint8ArrayName: typeof Uint8Array.name
565507
export const Uint8ArrayPrototype: typeof Uint8Array.prototype
566508
export const Uint8ArrayBYTES_PER_ELEMENT: typeof Uint8Array.BYTES_PER_ELEMENT
567509
export import Uint8ClampedArray = globalThis.Uint8ClampedArray;
568-
export const Uint8ClampedArrayLength: typeof Uint8ClampedArray.length
569-
export const Uint8ClampedArrayName: typeof Uint8ClampedArray.name
570510
export const Uint8ClampedArrayPrototype: typeof Uint8ClampedArray.prototype
571511
export const Uint8ClampedArrayBYTES_PER_ELEMENT: typeof Uint8ClampedArray.BYTES_PER_ELEMENT
572512
export import WeakMap = globalThis.WeakMap;
573-
export const WeakMapLength: typeof WeakMap.length
574-
export const WeakMapName: typeof WeakMap.name
575513
export const WeakMapPrototype: typeof WeakMap.prototype
576514
export const WeakMapPrototypeDelete: UncurryThis<typeof WeakMap.prototype.delete>
577515
export const WeakMapPrototypeGet: UncurryThis<typeof WeakMap.prototype.get>
578516
export const WeakMapPrototypeSet: UncurryThis<typeof WeakMap.prototype.set>
579517
export const WeakMapPrototypeHas: UncurryThis<typeof WeakMap.prototype.has>
580518
export import WeakSet = globalThis.WeakSet;
581-
export const WeakSetLength: typeof WeakSet.length
582-
export const WeakSetName: typeof WeakSet.name
583519
export const WeakSetPrototype: typeof WeakSet.prototype
584520
export const WeakSetPrototypeDelete: UncurryThis<typeof WeakSet.prototype.delete>
585521
export const WeakSetPrototypeHas: UncurryThis<typeof WeakSet.prototype.has>
586522
export const WeakSetPrototypeAdd: UncurryThis<typeof WeakSet.prototype.add>
587523
export import Promise = globalThis.Promise;
588-
export const PromiseLength: typeof Promise.length
589-
export const PromiseName: typeof Promise.name
590524
export const PromisePrototype: typeof Promise.prototype
591525
export const PromiseAll: typeof Promise.all
592526
export const PromiseRace: typeof Promise.race

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.