GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — typings: fix TypedArray to a global type · nodejs/node@e635e09

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • typings
    • globals.d.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎typings/globals.d.ts‎

Copy file name to clipboardExpand all lines: typings/globals.d.ts
+13-13Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,6 @@ import {URLBinding} from "./internalBinding/url";
1616
import {UtilBinding} from "./internalBinding/util";
1717
import {WorkerBinding} from "./internalBinding/worker";
1818

19-
declare type TypedArray =
20-
| Uint8Array
21-
| Uint8ClampedArray
22-
| Uint16Array
23-
| Uint32Array
24-
| Int8Array
25-
| Int16Array
26-
| Int32Array
27-
| Float32Array
28-
| Float64Array
29-
| BigUint64Array
30-
| BigInt64Array;
31-
3219
interface InternalBindingMap {
3320
async_wrap: AsyncWrapBinding;
3421
blob: BlobBinding;
@@ -54,6 +41,19 @@ type InternalBindingKeys = keyof InternalBindingMap;
5441
declare function internalBinding<T extends InternalBindingKeys>(binding: T): InternalBindingMap[T]
5542

5643
declare global {
44+
type TypedArray =
45+
| Uint8Array
46+
| Uint8ClampedArray
47+
| Uint16Array
48+
| Uint32Array
49+
| Int8Array
50+
| Int16Array
51+
| Int32Array
52+
| Float32Array
53+
| Float64Array
54+
| BigUint64Array
55+
| BigInt64Array;
56+
5757
namespace NodeJS {
5858
interface Global {
5959
internalBinding<T extends InternalBindingKeys>(binding: T): InternalBindingMap[T]

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.