diff --git a/api/src/reset.d.ts b/api/src/reset.d.ts deleted file mode 100644 index 12bd3edc94a..00000000000 --- a/api/src/reset.d.ts +++ /dev/null @@ -1 +0,0 @@ -import '@total-typescript/ts-reset'; diff --git a/api/src/server.ts b/api/src/server.ts index a70abe80069..2e334a0561d 100644 --- a/api/src/server.ts +++ b/api/src/server.ts @@ -1,3 +1,6 @@ +// We import these declaration files here, in the entry point of our application, so +// that they're available throughout. +import '@total-typescript/ts-reset'; import { build } from './app'; import { FREECODECAMP_NODE_ENV, PORT } from './utils/env'; diff --git a/api/tsconfig.json b/api/tsconfig.json index b4304cd67d3..b4afb3d6ee2 100644 --- a/api/tsconfig.json +++ b/api/tsconfig.json @@ -9,6 +9,5 @@ "resolveJsonModule": true, "noEmit": true, "noUncheckedIndexedAccess": true - }, - "ts-node": { "files": true } + } }