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

Does it support aliased import? #20

Open
maogongzi opened this issue Jun 10, 2021 · 0 comments
Open

Does it support aliased import? #20

maogongzi opened this issue Jun 10, 2021 · 0 comments

Comments

@maogongzi
Copy link

For example is it possible to do this:

import { format as dateFnsFormat } from "date-fns";

dateFnsFormat(new Date(), "yyyy-MM-dd");

In some cases I have same name functions that conflict with "date-fns", so I think it perhaps would be better to support this feature.

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