What it does
A Cursor rules file for Solid.js projects written in TypeScript. It asks the AI for typed signals, interfaces for props, strict mode, type inference where it fits, typed context and event handlers, and careful use of type assertions.
Use cases
- 01Define typed props with an interface
- 02Create a type-safe context with createContext
- 03Type an event handler in a .tsx component