Skip to content

Add typescript comparator for .ts files

.ts extension is used for typescript files https://www.typescriptlang.org/

The js-beautify tool which is used for JavaScript comparator doesn't support TypeScript/Flow yet: https://github.com/beautify-web/js-beautify/issues/1147

so another tool need to be used such as: https://www.npmjs.com/package/typescript-formatter

or prettier which support many formats (flow/typescript/js/html/css/markdown...) https://prettier.io/

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information