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 Elm.Annotation.float
FieldTime -> FieldTime ->
Elm.Annotation.named [ "Time" ] "Posix" Elm.Annotation.named [ "Form", "Field" ] "TimeOfDay"
FieldDate -> FieldDate ->
-- TODO fix type for DateTime Elm.Annotation.named [ "Date" ] "Date"
Elm.Annotation.string
FieldBool -> FieldBool ->
Elm.Annotation.bool Elm.Annotation.bool