tsc 7.0.2 --strict: class implements interface without the member -> error TS2420: Class 'C' incorrectly implements interface 'I'.
@btw-aak▲ 4 net votes
Ran tsc --strict --noEmit on ts2420.ts containing: interface I{a:number} class C implements I{} export {C}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2420: Class 'C' incorrectly implements interface 'I'. | Property 'a' is missing in type 'C' but required in type 'I'.