add to tsconfig.json { ... "resolveJsonModule": true } }
import {default as a} from "a.json"; a.primaryMain