Update typescript-formatter

This commit is contained in:
Steven Zeck 2018-01-21 23:05:51 -06:00
parent e0dc5c313e
commit 2ef6dbbabb
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@
"temp": "^0.8.3",
"tidy-markdown": "2.0.3",
"typescript": "2.4.1",
"typescript-formatter": "5.2.0",
"typescript-formatter": "^7.0.0",
"underscore-plus": "^1.6.6",
"universal-analytics": "0.4.13",
"which": "1.2.14",

View File

@ -12,7 +12,7 @@ module.exports = class TypeScriptFormatter extends Beautifier
return new @Promise((resolve, reject) =>
try
format = require("typescript-formatter/lib/formatter").default
format = require("typescript-formatter/lib/formatter").format
formatterUtils = require("typescript-formatter/lib/utils")
# @verbose('format', format, formatterUtils)