Some JS libraries (e.g. https://www.npmjs.com/package/winston) require json files in their code (the most common use case being package.json). Typescript will throw an error when importing such libraries, as it only understand .ts and .tsx.
Can we teach typescript how to handle importing json files like the way node handles it?