Skip to content

Commit

Permalink
Merge pull request #3 from radu-matei/add-ts-declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser authored Nov 11, 2020
2 parents c248124 + c6675ea commit 308a197
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export class Instance extends WebAssembly.Instance {}

export const instantiate: typeof WebAssembly.instantiate;
export const instantiateStreaming: typeof WebAssembly.instantiateStreaming;
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"url": "git+https://github.com/GoogleChromeLabs/asyncify.git"
},
"files": [
"dist/asyncify.*"
"dist/asyncify.*",
"index.d.ts"
],
"keywords": [
"asyncify",
Expand Down

0 comments on commit 308a197

Please sign in to comment.