Skip to content

Module Syntax #11

Open
Open

Description

In the alternative section: Is "foo" in the following local to that module/file?

module "foo" {
  export default function() { };
}

// could these two be from any file?
import Foo from "foo";
// or
import("foo");

Related esdiscuss about inline modules: https://esdiscuss.org/topic/inline-es-modules

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

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