Prompt Code Review

Check Type Safety

Find type issues — any casts, missing generics, loose types that could cause runtime errors.

typescript
Insert label Type Check
Prompt

Review this TypeScript code for type safety issues. Find any types, unsafe casts, missing generics, loose union types, and places where runtime errors could slip through. Suggest stricter types that still work with the code.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl