In react you can import image and use it in JSX, so that the compiler knows to load the asset. Apparently by default TypeScript doesn't support image files to be loaded. So you have to add new...
TypeScript is JavaScript with syntax for types.
TypeScript is JavaScript with syntax for types.