Fix types in scaffolding.

This commit is contained in:
Dillon Kearns 2023-01-20 08:31:56 -08:00
parent e18d8c0fe7
commit 5d730e588c

View File

@ -305,11 +305,10 @@ createFile moduleName fields =
Elm.Annotation.float
FieldTime ->
Elm.Annotation.named [ "Time" ] "Posix"
Elm.Annotation.named [ "Form", "Field" ] "TimeOfDay"
FieldDate ->
-- TODO fix type for DateTime
Elm.Annotation.string
Elm.Annotation.named [ "Date" ] "Date"
FieldBool ->
Elm.Annotation.bool