FreeRules, agents & hooks
TypeScript, React and Node.js rules
- 174174 downloads
- 225225 likes
- 237237 saves
- Cursor
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to write typed and maintainable TypeScript
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install typescript-best-practices-ruleFirst time: connect the CLI with
npx --yes palatekit@latest loginCursor applies these basic rules: interfaces for object shapes, unknown instead of any, strict mode, readonly properties, discriminated unions, type guards, explicit return types on public functions and custom error types.
Mostly picked by
Updated November 2, 2026
You say
“Replace these any types with precise types in this module.”

Rule published by PatrickJS under the CC0-1.0 license, delivered in its original version.
Listed unmodified
« typescript » (PatrickJS, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…