Typescript 4.5 resolveJsonModule should also work with node12 and nodenext module and resolveTypes ยท Issue #46362 ยท microsoft/TypeScript (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
Bug Report
๐ Search Terms
resolveJsonModule typescript 4.5 node node12 nodenext
๐ Version & Regression Information
4.5 +
โฏ Playground Link
Playground link with relevant code
๐ป Code
set resolveJsonModule true and moduleResolution node12 or nodenext in the tsconfig.json
๐ Actual behavior
Errors
TS5070: Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.
๐ Expected behavior
should work with node12
and nodenext
also