@seedcord/tsconfig
v2.0.3
Published
Shared TypeScript config for seedcord projects
Maintainers
Readme
About
@seedcord/tsconfig is the base TypeScript config seedcord projects extend. It turns on strict plus the checks that catch the things strict leaves open, including noUncheckedIndexedAccess, exactOptionalPropertyTypes, noImplicitOverride, noImplicitReturns, and noFallthroughCasesInSwitch. experimentalDecorators is on. The framework's route and command decorators require it.
Two configs ship. base targets ESNext, and node targets ES2024.
Until v1.0.0, minor versions can break.
Installation
pnpm add -D @seedcord/tsconfigUsage
{
"extends": "@seedcord/tsconfig/node",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src"]
}Both configs set noEmit, so a package that builds sets its own outDir and turns emit back on.
