Skip to content

Commit

Permalink
fix docs for Install.Import
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfpleite committed Aug 4, 2024
1 parent bddce99 commit 842cd61
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Install/Import.elm
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ To add the statement `import Foo.Bar as FB exposing (a, b, c)` to the `Frontend`
There is a shortcut for importing modules with no alias or exposed values
Install.Import.qualified "Frontend"
[ Install.Import.module_ "Foo.Bar"
, Install.Import.module_ "Baz.Qux"
]
[ "Foo.Bar", "Baz.Qux" ]
@docs config, Config
@docs ImportData, module_, withAlias, withExposedValues, qualified
Expand Down Expand Up @@ -82,7 +80,7 @@ withExposedValues exposedValues importData =
{ importData | exposedValues = Just exposedValues }


{-| Initialize the configuration for the rule.
{-| Create a rule that adds import statements to a module with no alias or exposed values. Just pass the module name and the list of modules to import.
-}
qualified : String -> List String -> Config
qualified hostModuleName_ imports =
Expand Down

0 comments on commit 842cd61

Please sign in to comment.