Skip to content

Does it support aliased import? #20

Open
@maogongzi

Description

@maogongzi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions