Answers for "typescript give json type on import"

1

import json typescript

// add this in your tsconfig.json file:
{
  "compilerOptions": {
    "resolveJsonModule": true
  }
}
Posted by: Guest on October-01-2021

Code answers related to "typescript give json type on import"

Code answers related to "Javascript"

Browse Popular Code Answers by Language