UNPKG

prettier-plugin-solidity

Version:

A Prettier Plugin for automatically formatting your Solidity code.

9 lines (8 loc) 182 B
export const ArrayTypeName = { print: ({ node, path, print }) => [ path.call(print, 'baseTypeName'), '[', node.length ? path.call(print, 'length') : '', ']' ] };