Skip to main content

Variable: TS_FORMAT_OPTIONS

const TS_FORMAT_OPTIONS: object

Prettier options for lifted TypeScript. Part of the output contract: changing them changes every export.

Type Declaration​

arrowParens​

readonly arrowParens: "always"

bracketSpacing​

readonly bracketSpacing: true

parser​

readonly parser: "typescript"

printWidth​

readonly printWidth: 100

semi​

readonly semi: true

singleQuote​

readonly singleQuote: true

tabWidth​

readonly tabWidth: 2

trailingComma​

readonly trailingComma: "all"

useTabs​

readonly useTabs: false