how to import json file into ts file code example Example: how to import a json string from a file in typescript import {default as a} from "a.json"; a.primaryMain