Skip to content

Commit 4155d0b

Browse files
committed
lint
1 parent 6b3623b commit 4155d0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ErrorCode } from '../abi/errors/ErrorCode';
1+
import type { ErrorCode } from '../abi/errors/ErrorCode';
22
import type { IType } from '../types/interfaces/IType';
33
import type { JsonAbiErrorCode } from '../types/interfaces/JsonAbi';
44

@@ -10,9 +10,9 @@ export function parseErrorCodes(params: {
1010
}) {
1111
// const { types, rawErrorCodes } = params;
1212
const { rawErrorCodes } = params;
13-
const errorCodes: ErrorCode[] = Object.entries(rawErrorCodes ?? {}).map(([code, value]) => {
14-
return makeErrorCode({ code, value });
15-
});
13+
const errorCodes: ErrorCode[] = Object.entries(rawErrorCodes ?? {}).map(([code, value]) =>
14+
makeErrorCode({ code, value })
15+
);
1616

1717
return errorCodes;
1818
}

0 commit comments

Comments
 (0)