Skip to content

Commit db9c30a

Browse files
committed
chore(typescript) update to latest
closes #663 refs microsoft/TypeScript#5393 refs #643 @tomitrescak hopefully this doesn't break your code. If it does a code sample would be great 🌹
1 parent 103b455 commit db9c30a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

dist/main/tsconfig/formatting.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ function defaultFormatCodeOptions() {
55
TabSize: 4,
66
NewLineCharacter: os.EOL,
77
ConvertTabsToSpaces: true,
8+
IndentStyle: ts.IndentStyle.Smart,
89
InsertSpaceAfterCommaDelimiter: true,
910
InsertSpaceAfterSemicolonInForStatements: true,
1011
InsertSpaceBeforeAndAfterBinaryOperators: true,

lib/main/tsconfig/formatting.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export function defaultFormatCodeOptions(): ts.FormatCodeOptions {
2626
TabSize: 4,
2727
NewLineCharacter: os.EOL,
2828
ConvertTabsToSpaces: true,
29+
IndentStyle: ts.IndentStyle.Smart,
2930
InsertSpaceAfterCommaDelimiter: true,
3031
InsertSpaceAfterSemicolonInForStatements: true,
3132
InsertSpaceBeforeAndAfterBinaryOperators: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"immutable": "^3.7.3",
5555
"json2dts": "0.0.1",
5656
"mkdirp": "^0.5.0",
57-
"ntypescript": "1.201509200205.1",
57+
"ntypescript": "1.201510260605.1",
5858
"react": "^0.13.3",
5959
"season": "^5.1.4",
6060
"tsconfig": "^2.0.1",

0 commit comments

Comments
 (0)