File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13478,8 +13478,12 @@ namespace ts {
1347813478 }
1347913479
1348013480 /**
13481+ * Look into JSX namespace and then look for container with matching name as nameOfAttribPropContainer.
13482+ * Get a single property from that container if existed. Report an error if there are more than one property.
1348113483 *
13482- */
13484+ * @param nameOfAttribPropContainer a string of value JsxNames.ElementAttributesPropertyNameContainer or JsxNames.ElementChildrenAttributeNameContainer
13485+ * if other string is given or the container doesn't exist, return undefined.
13486+ **/
1348313487 function getNameFromJsxElementAttributesContainer(nameOfAttribPropContainer: string): string {
1348413488 // JSX
1348513489 const jsxNamespace = getGlobalSymbol(JsxNames.JSX, SymbolFlags.Namespace, /*diagnosticMessage*/ undefined);
@@ -14647,7 +14651,7 @@ namespace ts {
1464714651 // We can figure that out by resolving attributes property and check number of properties in the resolved type
1464814652 // If the call has correct arity, we will then check if the argument type and parameter type is assignable
1464914653
14650- const callIsIncomplete = node.attributes.end === node.end; // If we are missing the close "/>", the call is incoplete
14654+ const callIsIncomplete = node.attributes.end === node.end; // If we are missing the close "/>", the call is incomplete
1465114655 if (callIsIncomplete) {
1465214656 return true;
1465314657 }
You can’t perform that action at this time.
0 commit comments