Update typescript-formatter
This commit is contained in:
parent
e0dc5c313e
commit
2ef6dbbabb
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue