File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8703,7 +8703,7 @@ namespace ts {
8703
8703
8704
8704
const isProperty = isPropertyDeclaration(declaration) || isPropertySignature(declaration);
8705
8705
const isOptional = includeOptionality && (
8706
- isProperty && !!( declaration) .questionToken ||
8706
+ isProperty && !!declaration.questionToken ||
8707
8707
isParameter(declaration) && (!!declaration.questionToken || isJSDocOptionalParameter(declaration)) ||
8708
8708
isOptionalJSDocPropertyLikeTag(declaration));
8709
8709
@@ -27895,7 +27895,7 @@ namespace ts {
27895
27895
// And if there is no reactNamespace/jsxFactory's symbol in scope when targeting React emit, we should issue an error.
27896
27896
const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === JsxEmit.React ? Diagnostics.Cannot_find_name_0 : undefined;
27897
27897
const jsxFactoryNamespace = getJsxNamespace(node);
27898
- const jsxFactoryLocation = isNodeOpeningLikeElement ? ( node) .tagName : node;
27898
+ const jsxFactoryLocation = isNodeOpeningLikeElement ? node.tagName : node;
27899
27899
27900
27900
// allow null as jsxFragmentFactory
27901
27901
let jsxFactorySym: Symbol | undefined;
Original file line number Diff line number Diff line change @@ -2219,7 +2219,7 @@ namespace ts {
2219
2219
const e = isBinaryExpression ( initializer )
2220
2220
&& ( initializer . operatorToken . kind === SyntaxKind . BarBarToken || initializer . operatorToken . kind === SyntaxKind . QuestionQuestionToken )
2221
2221
&& getExpandoInitializer ( initializer . right , isPrototypeAssignment ) ;
2222
- if ( e && isSameEntityName ( name , ( initializer ) . left ) ) {
2222
+ if ( e && isSameEntityName ( name , initializer . left ) ) {
2223
2223
return e ;
2224
2224
}
2225
2225
}
You can’t perform that action at this time.
0 commit comments