Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

Suppress duplicate variable warnings for namespaces #119

@evmar

Description

@evmar
export enum Test {
  a, b, c
}

export module Test {
  export function abc() {
    return 1;
  }
}

becomes

...enum stuff...
var Test = exports.Test;
var Test;
...module stuff...

which is a duplicate variable error.

We could turn it off locally with

https://github.com/google/closure-compiler/wiki/@suppress-annotations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions