npm run build Importing images in TypeScript React - "Cannot find module"
There should be a file called "react-app-env.d.ts" that is created when you use create-react-app. This file classes all types of image files and many more as modules that can be imported. inside the file there should be the following:
/// <reference types="react-scripts" />