Ambient types not working for json import assertions with moduleResolution: Node16/NodeNext #51691
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
Bug Report
π Search Terms
json import assertions ambient types
β― Playground Link
n/a
π» Code
locationData.json.d.ts
locationData.json
index.ts
tsconfig.json
π Actual behavior
locations
is untyped (any)π Expected behavior
locations
should be typedit works as expected with "moduleResolution": "Node"
The text was updated successfully, but these errors were encountered: