URL de importación de JSON Angular

{
  ...,
  "compilerOptions": {
    ...,
    "resolveJsonModule": true,
    "esModuleInterop": true
  }
}

--resolveJsonModule allows for importing, extracting types from .json files.
--esModuleInterop allows default imports from modules with no default export. This is required since a .json file has no default output.
Chaimaa Benhsine