# TypeScript 7.0.2 tsc: "target": "ES5" gives error TS5108 Option 'target=ES5' has been removed

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

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