Skip to content

Commit a7438d5

Browse files
committed
fix: adding types for the API
1 parent 23fc289 commit a7438d5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

lib/as-bind.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { instantiate, instantiateSync } from "@assemblyscript/loader";
2+
3+
export interface AsBind {
4+
// General asbind versionn
5+
version: number;
6+
7+
// Our APIs
8+
instantiate: typeof instantiate;
9+
10+
instantiateSync: typeof instantiateSync;
11+
}
12+
13+
export type AsBindLib = AsBind;

0 commit comments

Comments
 (0)