Skip to content

Commit

Permalink
typescript fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BaderBC committed Dec 21, 2023
1 parent edb0be0 commit b9eafaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"scripts": {
"prepublish": "rollup -c & yarn tsc",
"type-check": "tsc --noEmit"
"type-check": "tsc"
},
"repository": "https://github.com/avorty/vulcan-api-js.git",
"homepage": "https://avorty.github.io/vulcan-api-js",
Expand Down
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class Api {
}
try {
const rawRes = await fetch(fullUrl, options);
const jsonRes = await rawRes.json();
const jsonRes: any = await rawRes.json();
const status = jsonRes["Status"];
const envelope = jsonRes["Envelope"];
if (status.Code !== 0) {
Expand Down

0 comments on commit b9eafaf

Please sign in to comment.