Skip to content

Instantly share code, notes, and snippets.

@NickIliev
Created November 20, 2018 11:46
Show Gist options
  • Save NickIliev/1532387ca2cf715447552650316d6163 to your computer and use it in GitHub Desktop.
Save NickIliev/1532387ca2cf715447552650316d6163 to your computer and use it in GitHub Desktop.
Enabling JSON imports via tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"resolveJsonModule": true,
"esModuleInterop": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment