Add rule to check spaces around intersection/union type operators

This commit is contained in:
Ryan Cavanaugh
2015-10-22 11:35:48 -07:00
parent 28c2887d50
commit 69236c9be8
6 changed files with 46 additions and 16 deletions
+1 -1
View File
@@ -3512,7 +3512,7 @@ namespace ts {
return result;
}
function parseJsxOpeningOrSelfClosingElement(inExpressionContext: boolean): JsxOpeningElement|JsxSelfClosingElement {
function parseJsxOpeningOrSelfClosingElement(inExpressionContext: boolean): JsxOpeningElement | JsxSelfClosingElement {
let fullStart = scanner.getStartPos();
parseExpected(SyntaxKind.LessThanToken);