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@689d127

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
@@ -19,19 +19,6 @@ import { WASIBinding } from './internalBinding/wasi';
1919
import { WorkerBinding } from './internalBinding/worker';
2020
import { ModulesBinding } from './internalBinding/modules';
2121

22-
declare type TypedArray =
23-
| Uint8Array
24-
| Uint8ClampedArray
25-
| Uint16Array
26-
| Uint32Array
27-
| Int8Array
28-
| Int16Array
29-
| Int32Array
30-
| Float32Array
31-
| Float64Array
32-
| BigUint64Array
33-
| BigInt64Array;
34-
3522
interface InternalBindingMap {
3623
async_wrap: AsyncWrapBinding;
3724
blob: BlobBinding;
@@ -60,6 +47,19 @@ type InternalBindingKeys = keyof InternalBindingMap;
6047
declare function internalBinding<T extends InternalBindingKeys>(binding: T): InternalBindingMap[T]
6148

6249
declare global {
50+
type TypedArray =
51+
| Uint8Array
52+
| Uint8ClampedArray
53+
| Uint16Array
54+
| Uint32Array
55+
| Int8Array
56+
| Int16Array
57+
| Int32Array
58+
| Float32Array
59+
| Float64Array
60+
| BigUint64Array
61+
| BigInt64Array;
62+
6363
namespace NodeJS {
6464
interface Global {
6565
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.