Design Meeting Notes, 11/5/2024
DRANK
tsc --init https://github.com/microsoft/TypeScript/issues/58420 Discussed previously https://github.com/microsoft/TypeScript/issues/58417 Example tsconfig.json. https://github.com/microsoft/TypeScript/issues/58420#issuecomment-2458300636 "rootDir": "src" Automatically sets include...right? Probably not. "target": "es2022" Feels modern enough. Maybe just do esnext "lib": ["dom", "esnext"] Need all the other dom.* libraries like dom.iterable. Or just use "esnext.full" "module": "nodenext" But bundler? "skipLibCheck": true Disagreement about whether this is best practice, or even necessary for most projects. Node vs. browser? Link to https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping when targeting Node.js.
👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀👀github.com/microsoft/Type…t.co/yVCWhYyWA8