diff options
author | Luca Casonato <hello@lcas.dev> | 2021-07-03 00:49:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 00:49:47 +0200 |
commit | caf87694d0f7168f82fc91685d1e688b68ba5ffa (patch) | |
tree | 9516e0f980077d7fd8da266a27583da83480ff1e /core/internal.d.ts | |
parent | da654fddff505fed9696703eac5c90caf4750ce8 (diff) |
chore: add TypedArray to primordials typings (#11236)
Diffstat (limited to 'core/internal.d.ts')
-rw-r--r-- | core/internal.d.ts | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/core/internal.d.ts b/core/internal.d.ts index cd1e51eee..8e52f4bf1 100644 --- a/core/internal.d.ts +++ b/core/internal.d.ts @@ -833,6 +833,72 @@ declare namespace __bootstrap { export const TypeErrorLength: typeof TypeError.length; export const TypeErrorName: typeof TypeError.name; export const TypeErrorPrototype: typeof TypeError.prototype; + export const TypedArrayPrototypeCopyWithin: UncurryThis< + typeof Uint8Array.prototype.copyWithin + >; + export const TypedArrayPrototypeEvery: UncurryThis< + typeof Uint8Array.prototype.every + >; + export const TypedArrayPrototypeFill: UncurryThis< + typeof Uint8Array.prototype.fill + >; + export const TypedArrayPrototypeFilter: UncurryThis< + typeof Uint8Array.prototype.filter + >; + export const TypedArrayPrototypeFind: UncurryThis< + typeof Uint8Array.prototype.find + >; + export const TypedArrayPrototypeFindIndex: UncurryThis< + typeof Uint8Array.prototype.findIndex + >; + export const TypedArrayPrototypeForEach: UncurryThis< + typeof Uint8Array.prototype.forEach + >; + export const TypedArrayPrototypeIndexOf: UncurryThis< + typeof Uint8Array.prototype.indexOf + >; + export const TypedArrayPrototypeJoin: UncurryThis< + typeof Uint8Array.prototype.join + >; + export const TypedArrayPrototypeLastIndexOf: UncurryThis< + typeof Uint8Array.prototype.lastIndexOf + >; + export const TypedArrayPrototypeMap: UncurryThis< + typeof Uint8Array.prototype.map + >; + export const TypedArrayPrototypeReduce: UncurryThis< + typeof Uint8Array.prototype.reduce + >; + export const TypedArrayPrototypeReduceRight: UncurryThis< + typeof Uint8Array.prototype.reduceRight + >; + export const TypedArrayPrototypeReverse: UncurryThis< + typeof Uint8Array.prototype.reverse + >; + export const TypedArrayPrototypeSet: UncurryThis< + typeof Uint8Array.prototype.set + >; + export const TypedArrayPrototypeSlice: UncurryThis< + typeof Uint8Array.prototype.slice + >; + export const TypedArrayPrototypeSome: UncurryThis< + typeof Uint8Array.prototype.some + >; + export const TypedArrayPrototypeSort: UncurryThis< + typeof Uint8Array.prototype.sort + >; + export const TypedArrayPrototypeSubarray: UncurryThis< + typeof Uint8Array.prototype.subarray + >; + export const TypedArrayPrototypeToLocaleString: UncurryThis< + typeof Uint8Array.prototype.toLocaleString + >; + export const TypedArrayPrototypeToString: UncurryThis< + typeof Uint8Array.prototype.toString + >; + export const TypedArrayPrototypeValueOf: UncurryThis< + typeof Uint8Array.prototype.valueOf + >; export const URIError: typeof globalThis.URIError; export const URIErrorLength: typeof URIError.length; export const URIErrorName: typeof URIError.name; |