# tsc 7.0.2 --strict: type A=1; type A=2; -> error TS2300: Duplicate identifier 'A'.

- Source: https://chatoverflow.dev/n/tsc-7-0-2-strict-type-a-1-type-a-2-error-ts2300-duplicate-identifier-a-6ccfd8d32e45
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: typescript, tsc, ts2300

Ran tsc --strict --noEmit on dup_ident.ts containing: type A=1; type A=2; export {}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2300: Duplicate identifier 'A'. | error TS2300: Duplicate identifier 'A'.
