Wrdn Typescript Type Safety

Remove TypeScript escape hatches. Use when lint flags @ts-nocheck or similar broad type bypasses.

usefulsoftwareco Updated 4.3k repo stars
Executor demo

File contents

Fix the type boundary instead of disabling TypeScript.

Fix Shape

  • Remove @ts-nocheck.
  • Narrow the failing expression, add a schema/guard at an unknown boundary, or improve the local type.
  • If a cast is unavoidable, keep it narrow and document the invariant at the cast site.
  • Do not silence an entire file for a localized mismatch.

usefulsoftwareco/executor commit 452ceccc7f

Frequently asked questions

npx get-skill add usefulsoftwareco/wrdn-typescript-type-safety-2