Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Sep 18, 2024
1 parent 21994c4 commit e193eca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"url": "https://github.com/curvefi/curve-lending-js/issues"
},
"scripts": {
"build": "rm -rf lib && tsc -p tsconfig.build.json"
"build": "rm -rf lib && tsc -p tsconfig.build.json",
"lint": "eslint src --ext .ts"
},
"type": "module",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
async function init (
providerType: 'JsonRpc' | 'Web3' | 'Infura' | 'Alchemy',
providerSettings: { url?: string, privateKey?: string, batchMaxCount? : number } | { externalProvider: ethers.Eip1193Provider } | { network?: Networkish, apiKey?: string },
options: { gasPrice?: number, maxFeePerGas?: number, maxPriorityFeePerGas?: number, chainId?: number } = {},
options: { gasPrice?: number, maxFeePerGas?: number, maxPriorityFeePerGas?: number, chainId?: number } = {}
): Promise<void> {
await _lending.init(providerType, providerSettings, options);
// @ts-ignore
Expand Down

0 comments on commit e193eca

Please sign in to comment.