enforce triple-equals

This commit is contained in:
Arthur Ozga committed 2017-04-04 15:51:13 -07:00
1 parent 9bfba73418
commit 7e03429a8e
29 files changed
+51 -50

No files matched your search

+1 -1
View File
@@ -465,7 +465,7 @@ namespace ts.textChanges {
change.options.indentation !== undefined
? change.options.indentation
: change.useIndentationFromFile
? formatting.SmartIndenter.getIndentation(change.range.pos, sourceFile, formatOptions, posStartsLine || (change.options.prefix == this.newLineCharacter))
? formatting.SmartIndenter.getIndentation(change.range.pos, sourceFile, formatOptions, posStartsLine || (change.options.prefix === this.newLineCharacter))
: 0;
const delta =
change.options.delta !== undefined