Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
TypeScript
how to import a json string from a file in typescript
Iris Lohrengel
Programming language:
TypeScript
2021-03-08 07:46:41
0
Q:
how to import a json string from a file in typescript
AlexR
Code:
TypeScript
2021-08-03 20:17:24
import {default as a} from "a.json"; a.primaryMain
-1
Tags
string
file
type
json
types
how
port
Related
import on save typescript
how to run typescript file
typescript import particular class from file
typescript create file and download
create file object from url typescript
typescript compiler doesn't add json file
New to Communities?
Join the community