With noImplicitOverride on, which lines in this subclass does TypeScript report?
The project turns on noImplicitOverride, which strict doesn't include. Say every error TypeScript reports, and why.
class Logger { log(message: string) { console.log(message); } flush() {}} class FileLogger extends Logger { log(message: string) { super.log(`[file] ${message}`); } override flush(force: boolean) {} override close() {}}Work it out first: the compiler shows every error and type.
The answer
Work out every error TypeScript reports and every type it shows, line by line. Then check.
Checking your sign-in…