← Text prompts
Text & chatPlan

Model valid states with TypeScript types

Model data and states with useful TypeScript types.

What to provide

  • Domain / data
Make it yours

Fill in what you know. Empty fields stay as placeholders.

Supply domain / data for this task.

Optional instructions
1 input to replace

Static types do not replace runtime validation of external input.

Revision 1.0

How to use this prompt

Supply representative data, invalid states and nullable fields.

What to check in the result

Static types do not replace runtime validation of external input.