(containingType)
| 74930 | addErrorOrSuggestion(!isUncheckedJS || errorInfo.code !== ts.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code, resultDiagnostic); |
| 74931 | } |
| 74932 | function containerSeemsToBeEmptyDomElement(containingType) { |
| 74933 | return (compilerOptions.lib && !compilerOptions.lib.includes("dom")) && |
| 74934 | everyContainedType(containingType, function (type) { return type.symbol && /^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(ts.unescapeLeadingUnderscores(type.symbol.escapedName)); }) && |
| 74935 | isEmptyObjectType(containingType); |
| 74936 | } |
| 74937 | function typeHasStaticProperty(propName, containingType) { |
| 74938 | var prop = containingType.symbol && getPropertyOfType(getTypeOfSymbol(containingType.symbol), propName); |
| 74939 | return prop !== undefined && !!prop.valueDeclaration && ts.isStatic(prop.valueDeclaration); |
no test coverage detected
searching dependent graphs…