mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-29 16:29:19 -05:00
Enable interface-over-type-literal lint rule (#17733)
This commit is contained in:
@@ -21516,7 +21516,7 @@ namespace ts {
|
||||
return true;
|
||||
}
|
||||
|
||||
type InheritanceInfoMap = { prop: Symbol; containingType: Type };
|
||||
interface InheritanceInfoMap { prop: Symbol; containingType: Type; }
|
||||
const seen = createUnderscoreEscapedMap<InheritanceInfoMap>();
|
||||
forEach(resolveDeclaredMembers(type).declaredProperties, p => { seen.set(p.escapedName, { prop: p, containingType: type }); });
|
||||
let ok = true;
|
||||
|
||||
Reference in New Issue
Block a user