Skip to content

Commit f7a6b20

Browse files
committed
Formatting
1 parent b6a6c78 commit f7a6b20

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/compiler/checker.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13213,7 +13213,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
1321313213

1321413214
function getBaseTypes(type: InterfaceType): BaseType[] {
1321513215
if (!(getObjectFlags(type) & (ObjectFlags.ClassOrInterface | ObjectFlags.Reference))) {
13216-
return emptyArray
13216+
return emptyArray;
1321713217
}
1321813218
if (!type.baseTypesResolved) {
1321913219
if (pushTypeResolution(type, TypeSystemPropertyName.ResolvedBaseTypes)) {
@@ -35057,13 +35057,13 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
3505735057
*/
3505835058
function isPropertyDeclaredInAncestorClass(prop: Symbol): boolean {
3505935059
if (prop.parent && prop.parent.flags & SymbolFlags.Class) {
35060-
const baseTypes = getBaseTypes(getDeclaredTypeOfSymbol(prop.parent) as InterfaceType)
35060+
const baseTypes = getBaseTypes(getDeclaredTypeOfSymbol(prop.parent) as InterfaceType);
3506135061
if (baseTypes.length) {
35062-
const superProperty = getPropertyOfType(baseTypes[0], prop.escapedName)
35063-
return !!(superProperty && superProperty.valueDeclaration)
35062+
const superProperty = getPropertyOfType(baseTypes[0], prop.escapedName);
35063+
return !!(superProperty && superProperty.valueDeclaration);
3506435064
}
3506535065
}
35066-
return false
35066+
return false;
3506735067
}
3506835068

3506935069
function reportNonexistentProperty(propNode: Identifier | PrivateIdentifier, containingType: Type, isUncheckedJS: boolean) {

0 commit comments

Comments
 (0)