Skip to content

Commit

Permalink
Enabling strict typing
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Apr 26, 2024
1 parent e60a8be commit 4fa140d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/kit/src/utils/txnDecoding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const decodeTxnData = async (txns: commons.transaction.TransactionEncoded[]): Pr

return createTxnData('', call, 0, callData)
} catch (err) {
throw new Error(err)
throw err
}
}

Expand Down
11 changes: 4 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
"strict": true,
"strictNullChecks": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"isolatedModules": true,
"skipLibCheck": true,
"jsx": "react-jsx",
"typeRoots": [
"node_modules/@types"
],
"types": [
"node"
]
"typeRoots": ["node_modules/@types"],
"types": ["node"]
},
"include": ["./packages/**/src/**/*.ts", "./packages/**/src/**/*.tsx", ]
"include": ["./packages/**/src/**/*.ts", "./packages/**/src/**/*.tsx"]
}

0 comments on commit 4fa140d

Please sign in to comment.