From 745a508d62ac65a1d013705f7c8347fb9e95c5ca Mon Sep 17 00:00:00 2001 From: rayan-mazouz Date: Wed, 24 Dec 2025 18:39:30 -0800 Subject: [PATCH] Add arrayref type --- README.md | 3 +++ index.d.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 4c571f27..2c199e2b 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,9 @@ API * **structref**: `Type`
Structure reference. 🦄 + * **arrayref**: `Type`
+ Array reference. 🦄 + * **stringref**: `Type`
String reference. 🦄 diff --git a/index.d.ts b/index.d.ts index b2798b12..82f74d80 100644 --- a/index.d.ts +++ b/index.d.ts @@ -14,6 +14,7 @@ declare module binaryen { const eqref: Type; const i31ref: Type; const structref: Type; + const arrayref: Type; const stringref: Type; const unreachable: Type; const auto: Type;