typescript-strict
v0.1.0curatedStrict TypeScript baseline — no any, explicit return types, strict tsconfig, no non-null assertions.
language:typescriptruntime:noderuntime:bunruntime:deno
archgate adr import packs/typescript-strictDecisions (4)
No Any Types
The `any` type disables TypeScript's type checking entirely, defeating the purpose of using TypeScript in the first place.
1 rule
Explicit Return Types on Exported Functions
When exported functions lack explicit return types, TypeScript infers them from the implementation.
1 rule
Strict tsconfig
TypeScript's `strict` flag enables a suite of type-checking options that catch common mistakes: `strictNullChecks`, `strictFunctionTypes`, `strictBindCallApply`, `noImplicitAny`, `noImplicitThis`, ...
1 rule
No Non-Null Assertions
The non-null assertion operator (`!`) tells TypeScript to treat a possibly null or undefined value as definitely defined.
1 rule