I'm making a Chrome extension and I'm trying to import a Typescript file in Javascript. Both files are next to each others.
I'm importing it this way:
import { ApiParsing } from './ApiParsing.ts';
When I'm using the extension I have the following error:
Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.