diff --git a/bin/prettier.js b/bin/prettier.js index 69f1ff5c3..41aa0c96e 100755 --- a/bin/prettier.js +++ b/bin/prettier.js @@ -66,7 +66,7 @@ function getParserOption() { return "flow"; } - if (value === "flow" || value === "babylon") { + if (value === "flow" || value === "babylon" || value === "typescript") { return value; }