Use Never in constructor as suggested in docs to avoid no unused constructor review error.

This commit is contained in:
Dillon Kearns 2022-01-28 08:51:50 -08:00
parent 1b19d8e22e
commit c6157ff293
2 changed files with 2 additions and 3 deletions

View File

@ -118,7 +118,6 @@ noUnusedRules =
|> Rule.ignoreErrorsForFiles
[ "src/Head/Twitter.elm" -- keeping unused for future use for spec API
, "src/RoutePattern.elm"
, "src/Form.elm" -- ignored because false positive for unused for Phantom Builder type, see https://github.com/jfmengels/elm-review-unused/issues/60
]
, NoUnused.CustomTypeConstructorArgs.rule
|> ignoreInTest

View File

@ -1337,11 +1337,11 @@ withStringProperty ( key, value ) (Field field) =
type Yes
= Yes
= Yes Never
type No
= No
= No Never
{-| -}