diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-04 23:31:46 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-04 23:31:46 +0800 |
commit | 326a6b729fe6cf96f0b4787d84903282738b6863 (patch) | |
tree | a5b7a3281fde2f27074c91d3d02e091e429534a2 /packages/abi-gen/src/utils.ts | |
parent | e2ef0c5b9419fa1536a1b7e478f7950e69e8ff0e (diff) | |
download | dexon-0x-contracts-326a6b729fe6cf96f0b4787d84903282738b6863.tar.gz dexon-0x-contracts-326a6b729fe6cf96f0b4787d84903282738b6863.tar.zst dexon-0x-contracts-326a6b729fe6cf96f0b4787d84903282738b6863.zip |
Fix prettier
Diffstat (limited to 'packages/abi-gen/src/utils.ts')
-rw-r--r-- | packages/abi-gen/src/utils.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/abi-gen/src/utils.ts b/packages/abi-gen/src/utils.ts index f407ae23d..edda016b5 100644 --- a/packages/abi-gen/src/utils.ts +++ b/packages/abi-gen/src/utils.ts @@ -10,7 +10,9 @@ export const utils = { if (solType.match(trailingArrayRegex)) { const arrayItemSolType = solType.replace(trailingArrayRegex, ''); const arrayItemTsType = utils.solTypeToTsType(paramKind, arrayItemSolType); - const arrayTsType = utils.isUnionType(arrayItemTsType) ? `Array<${arrayItemTsType}>` : `${arrayItemTsType}[]`; + const arrayTsType = utils.isUnionType(arrayItemTsType) + ? `Array<${arrayItemTsType}>` + : `${arrayItemTsType}[]`; return arrayTsType; } else { const solTypeRegexToTsType = [ |