elm-explorations / test

Write unit and fuzz tests for Elm code.
https://package.elm-lang.org/packages/elm-explorations/test/latest
BSD 3-Clause "New" or "Revised" License
236 stars 40 forks source link

Point Selector types to exposed ones #204

Closed jfmengels closed 1 year ago

jfmengels commented 1 year ago

A few functions were referencing Selector in their arguments, but they were pointing to the one in Internal rather than the one that is publicly exposed. This make it harder to find where Selectors are, and I can imagine that this makes adding type annotations through an IDE create an invalid type annotation (because it would reference something that wasn't exposed).

This was reported by the NoMissingTypeExpose elm-review rule.

Janiczek commented 1 year ago

Thank you @jfmengels!