Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oliverjam/ts-validator
Messing around validating with TypeScript
https://github.com/oliverjam/ts-validator
Last synced: about 6 hours ago
JSON representation
Messing around validating with TypeScript
- Host: GitHub
- URL: https://github.com/oliverjam/ts-validator
- Owner: oliverjam
- Created: 2023-08-15T15:31:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-01T23:35:40.000Z (11 months ago)
- Last Synced: 2024-01-02T01:26:57.544Z (11 months ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Typescript Validator
This is just me messing around trying to understand how [Superstruct](https://docs.superstructjs.org/) or [Zod](https://zod.dev/) work. Validating JS values at runtime isn't too difficult—getting TypeScript to infer the correct values while you're coding is another matter.