Skip to content

Declarations in declare global can have export modifiers #64430

Description

Is it intentional that declarations in declare global can have export modifiers?

export {}

declare global {
    // allowed!
    export interface Oops {
    }
}

I want to say "no", but... I'm not sure who that would help at this point - maybe a check would make sure you're doing what you think you're doing (whatever that is).

Somewhat related is:

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

    Needs InvestigationThis issue needs a team member to investigate its status.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions