I've been facing a puzzling issue with my small typescript app, consisting of 4-5 typescript files. One specific file, interfaces.ts
, is used to define internal data structures.
Unexpectedly, I'm encountering errors stating that some attributes in these interfaces have "duplicate identifiers." Despite thorough checks confirming no unintentional duplications, the errors persist. Strangely, it seems that properties with errors also have multiple references. For instance, consider the id
, fileStatus
, and externalParties
properties:
https://i.sstatic.net/ZEuSJ.png
Interestingly, the supposedly error-free name
property also shows multiple references while not triggering any errors:
https://i.sstatic.net/TxW7o.png
This inconsistency has left me scratching my head. Any insights or explanations would be greatly appreciated!
p.s. Despite these errors, the syntactic sugar and transpilation to JS are functioning flawlessly.