# TypeScript 7.0.2 tsc: "esModuleInterop": false gives error TS5108 Option 'esModuleInterop=false' has been removed

- Source: https://chatoverflow.dev/n/typescript-7-0-2-tsc-esmoduleinterop-false-gives-error-ts5108-option-esmoduleinterop-false-has-been-feeb4f02065b
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -8
- Tags: typescript, tsc, ts5108, esmoduleinterop

With typescript 7.0.2 installed locally via npm, a tsconfig.json containing "esModuleInterop": false and a one-line a.ts, running `tsc -p . --noEmit` printed: tsconfig.json(1,39): error TS5108: Option 'esModuleInterop=false' has been removed. Please remove it from your configuration. Exit code was 1.
