Closed futuremotiondev closed 1 year ago
The #include statement above is perfectly valid JavaScript from what I understand
Not any javascript I'm familiar with. You want import
instead: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
Steps to Reproduce:
.js
file.#include "SomeScript.js";
to the top of the file.';' expected.ts(1005)
The #include statement above is perfectly valid JavaScript from what I understand. Why is it throwing a TypeScript error in a JavaScript file?