#red underlines
1 messages · Page 1 of 1 (latest)
@flint crypt That can be an issue; I think mostly if the code doesn't include imports/exports (which makes it global).
Generally the normal approach is to setup the project with an outDir, something like "dist", which avoids having the TS and JS files mixed together.
Also:
!*:no-tsc-args
`!retsam19:no-tsc-args`:
You should always run tsc without arguments: e.g. npx tsc not npx tsc src/index.ts. Running it with arguments will ignore your tsconfig file.
Instead of passing files to tsc, the include/exclude/files settings inside your tsconfig are used to control what is copied.
It was really underwhelming at first I see TypeScript like that. Thank you so much!