i have small typescript app composed of 4-5 typescript files. 1 of these files called interfaces.ts , use define internal data structures i'm using.
in many cases, attributes in these interfaces giving errors have "duplicate identifiers" i'm sure isn't literally true own code , have double checked didn't accidentally reproduce this. also, appears properties have errors have references property shouldn't matter, right? here's example:
and in example, id, filestatus, , externalparties properties have more 1 reference them. see below filestatus:
but i've noticed name property (which without error) has multiple references (so reference theory may red herring):
any on explaining make me feel lot saner.
p.s. error or not syntactic sugar , transpilation js works without issues
references property shouldn't matter, right
indeed references don't matter. should trigger goto definition see places defined.
warning: might vscode bug especially if project has multiple tsconfig.json files.



Comments
Post a Comment