Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose declarations in import statements #50

Open
adauguet opened this issue Sep 20, 2022 · 0 comments
Open

Expose declarations in import statements #50

adauguet opened this issue Sep 20, 2022 · 0 comments

Comments

@adauguet
Copy link

Is it possible to expose some declarations in import statements?

Before:

import Html
import Html.Attributes

Html.div
    [ Html.Attributes.class "hello" ]
    [ Html.text "Hello world!" ]

After:

import Html exposing (div, text)
import Html.Attributes exposing (class)

div
    [ class "hello" ]
    [ text "Hello world!" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant