🛠 Tooling: Enable noEmit: true in tsconfig.json #800
Labels
area: tooling
Managing the repository's maintenance
good first issue
Good for newcomers, please hop on!
status: accepting prs
Please, send a pull request to resolve this!
Milestone
Bug Report Checklist
main
branch of the repository.Overview
This repository used to use
tsc
(the TypeScript CLI) to emit.js
files. As of #640 it now uses tsup. Sopnpm run tsc
is just a type checking task.But,
tsconfig.json
doesn't have"noEmit": true
enabled (https://aka.ms/tsconfig#noEmit). So runningpnpm run tsc
still outputs.js
files. That's not what we want!Let's add
"noEmit": true
to thetsconfig.json
file.Additional Info
The template data for
tsconfig.json
files will also need to be updated:create-typescript-app/src/steps/writing/creation/rootFiles.ts
Line 152 in f4f0233
The text was updated successfully, but these errors were encountered: