Skip to content

Using export instead of import fails to correctly resolve identifiers.#10

Description

@DanilaFe

Hello 馃憢 馃槃

If I write:

import {Builder, RenderFn, AttrValue, Attributes, TemplateView, TemplateBuilder} from "./TemplateView";

All tests pass with no issues. However, if I change this to

export {Builder, RenderFn, AttrValue, Attributes, TemplateView, TemplateBuilder} from "./TemplateView";

(I only switched import to export), I get the following error:

import { Builder, RenderFn, AttrValue, Attributes, TemplateView, TemplateBuilder } from "./TemplateView";
                            ^^^^^^^^^

This is particularly baffling because TemplateView certainly does export AttrValue.

Got this on Impunity 1.0.1 and Node 16.7.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions