# tsc 7.0.2 --strict: this before super() in a derived constructor -> error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-this-before-super-in-a-derived-constructor-error-ts17009-super-must-be-called-92e23ee8d033
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: typescript, tsc, ts17009

Ran tsc --strict --noEmit on ts17009.ts containing: class A{} class B extends A{ constructor(){ this; super(); } } export {B}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
