| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -479,10 +479,29 @@ declare namespace primordials { | |||
| 479 | 479 | constructor: new (length: number) => T, | |
| 480 | 480 | items: readonly TypedArrayContentType<T>[], | |
| 481 | 481 | ): T; | |
| 482 | + export const TypedArray: TypedArray; | ||
| 483 | + export const TypedArrayPrototype: | ||
| 484 | + | typeof Uint8Array.prototype | ||
| 485 | + | typeof Int8Array.prototype | ||
| 486 | + | typeof Uint16Array.prototype | ||
| 487 | + | typeof Int16Array.prototype | ||
| 488 | + | typeof Uint32Array.prototype | ||
| 489 | + | typeof Int32Array.prototype | ||
| 490 | + | typeof Float32Array.prototype | ||
| 491 | + | typeof Float64Array.prototype | ||
| 492 | + | typeof BigInt64Array.prototype | ||
| 493 | + | typeof BigUint64Array.prototype | ||
| 494 | + | typeof Uint8ClampedArray.prototype; | ||
| 482 | 495 | export const TypedArrayPrototypeGetBuffer: UncurryGetter<TypedArray, "buffer">; | |
| 483 | 496 | export const TypedArrayPrototypeGetByteLength: UncurryGetter<TypedArray, "byteLength">; | |
| 484 | 497 | export const TypedArrayPrototypeGetByteOffset: UncurryGetter<TypedArray, "byteOffset">; | |
| 485 | 498 | export const TypedArrayPrototypeGetLength: UncurryGetter<TypedArray, "length">; | |
| 499 | + export function TypedArrayPrototypeAt<T extends TypedArray>(self: T, ...args: Parameters<T["at"]>): ReturnType<T["at"]>; | ||
| 500 | + export function TypedArrayPrototypeIncludes<T extends TypedArray>(self: T, ...args: Parameters<T["includes"]>): ReturnType<T["includes"]>; | ||
| 501 | + export function TypedArrayPrototypeFill<T extends TypedArray>(self: T, ...args: Parameters<T["fill"]>): ReturnType<T["fill"]>; | ||
| 502 | + export function TypedArrayPrototypeSet<T extends TypedArray>(self: T, ...args: Parameters<T["set"]>): ReturnType<T["set"]>; | ||
| 503 | + export function TypedArrayPrototypeSubarray<T extends TypedArray>(self: T, ...args: Parameters<T["subarray"]>): ReturnType<T["subarray"]>; | ||
| 504 | + export function TypedArrayPrototypeSlice<T extends TypedArray>(self: T, ...args: Parameters<T["slice"]>): ReturnType<T["slice"]>; | ||
| 486 | 505 | export function TypedArrayPrototypeGetSymbolToStringTag(self: unknown): | |
| 487 | 506 | | 'Int8Array' | |
| 488 | 507 | | 'Int16Array' | |
| Back | FazBrowse Home | New Git URL |
0 commit comments