Skip to content

Commit a8662ff

Browse files
committed
Add FunctionInfo type
1 parent 3ea7bcb commit a8662ff

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ API
307307
* FunctionInfo#**name**: `string`
308308
* FunctionInfo#**module**: `string | null` (if imported)
309309
* FunctionInfo#**base**: `string | null` (if imported)
310+
* FunctionInfo#**type**: `Type`
310311
* FunctionInfo#**params**: `Type`
311312
* FunctionInfo#**results**: `Type`
312313
* FunctionInfo#**vars**: `Type`

index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2200,6 +2200,7 @@ declare module binaryen {
22002200
name: string;
22012201
module: string | null;
22022202
base: string | null;
2203+
type: Type;
22032204
params: Type;
22042205
results: Type;
22052206
vars: Type[];

0 commit comments

Comments
 (0)