regle-typescript

TypeScript support for type-safe Regle form validation, rules, and component props.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "regle-typescript" with this command: npx skills add victorgarciaesgi/regle/victorgarciaesgi-regle-regle-typescript

Regle TypeScript

Regle provides first-class TypeScript support with full type inference. This skill covers type-safe validation output, typing rules schemas, and typing component props.

Key Exports

ExportPackagePurpose
InferInput@regle/coreInfer state type from rules
InferSafeOutput@regle/coreInfer validated output type from r$
inferRules@regle/corePreserve autocompletion in computed rules
RegleComputedRules@regle/coreType helper for explicit rule typing
InferRegleRoot@regle/coreExtract r$ type from a composable
RegleFieldStatus@regle/coreType for a single field status prop

References

TopicDescriptionReference
Type Safe Output$validate return types, InferSafeOutputtypescript-type-safe-output
Typing RulesinferRules, RegleComputedRules, nested propertiestypescript-typing-rules
Typing PropsInferRegleRoot, RegleFieldStatus, typing component propstypescript-typing-props

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

regle

No summary provided by upstream source.

Repository SourceNeeds Review
General

regle-advanced

No summary provided by upstream source.

Repository SourceNeeds Review
General

vue

No summary provided by upstream source.

Repository SourceNeeds Review