mirror of
https://github.com/BrianHicks/elm-duet.git
synced 2024-08-16 17:10:38 +03:00
singularize
This commit is contained in:
parent
021ffb36b4
commit
083b76b7f5
@ -3,7 +3,7 @@
|
||||
`elm-duet` provides interop types between Elm and TypeScript by creating a single source of truth using [JSON Type Definitions](https://jsontypedef.com/) (JTD, [five-minute tutorial](https://jsontypedef.com/docs/jtd-in-5-minutes/).)
|
||||
This allows us say precisely what we want and generate ergonomic types on both sides (plus helpers like encoders to make testing easy!)
|
||||
|
||||
## JTDs? What's that?
|
||||
## JTD? What's that?
|
||||
|
||||
A JTD is similar to a JSON Schema, except it leaves out features that you can't express in a typical type system.
|
||||
For example, a JSON Schema lets you express as a regex validation on a string, but JTD just allows you to specify the string.
|
||||
|
Loading…
Reference in New Issue
Block a user