Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to import a json string from a file in typescript

import {default as a} from "a.json";
a.primaryMain
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #import #json #string #file #typescript
ADD COMMENT
Topic
Name
1+6 =