Skip to content

Commit

Permalink
chore: export types in main index.ts file
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Jun 24, 2021
1 parent 446a8f1 commit 3c95d2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions index.ts
@@ -1,3 +1,6 @@
// Export functions from the package/module
export * from "./test-utils"
export * from "./tasks/utils"

// Export types
export * from "./types"
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -14,7 +14,6 @@
"./index.ts"
],
"main": "./index.ts",
"types": "./types",
"scripts": {
"compile-abis": "typechain --target=ethers-v5 --out-dir types/generated \"?(contracts|build)/!(build-info)/**/+([a-zA-Z0-9]).json\"",
"lint": "yarn run lint-ts; yarn run lint-sol",
Expand Down
4 changes: 2 additions & 2 deletions types/machines.ts
Expand Up @@ -12,7 +12,7 @@ export interface CTokenDetails {
cToken: Address
}

export enum Platform {
export enum IntegrationPlatform {
none,
aave,
compound,
Expand All @@ -21,7 +21,7 @@ export enum Platform {
export interface BassetIntegrationDetails {
bAssets: Array<MockERC20>
bAssetTxFees: boolean[]
platforms?: Array<Platform>
platforms?: Array<IntegrationPlatform>
aavePlatformAddress?: Address
aTokens?: Array<ATokenDetails>
cTokens?: Array<CTokenDetails>
Expand Down

0 comments on commit 3c95d2a

Please sign in to comment.