Answers for "Cannot find module '../../.env.json'. Consider using '--resolveJsonModule' to import module with '.json' extensionts(2732)"

-2

how to import a json string from a file in typescript

import {default as a} from "a.json";
a.primaryMain
Posted by: Guest on June-16-2020

Code answers related to "Cannot find module '../../.env.json'. Consider using '--resolveJsonModule' to import module with '.json' extensionts(2732)"

Code answers related to "Javascript"

Browse Popular Code Answers by Language