ESLint sometimes marks TypeScript like type declarations as errors.
This is due to ESLint assuming the TypeScript file should only have
JavaScript syntax.
Let's add a TypeScript-specific parser and plugin.
Additional Notes
ESLint without the TypeScript plugin treats this as an error:
const app : Express = express();
This is due to the addition of :, which is not found in normal JavaScript code.
Commit Message
Additional Notes
ESLint without the TypeScript plugin treats this as an error:
This is due to the addition of
:
, which is not found in normal JavaScript code.