swc/crates/swc_ecma_parser/tests/tsc/es6modulekindWithES5Target12.ts

39 lines
401 B
TypeScript

// @target: es5
// @module: es2015
export class C {
}
export namespace C {
export const x = 1;
}
export enum E {
w = 1
}
export enum E {
x = 2
}
export namespace E {
export const y = 1;
}
export namespace E {
export const z = 1;
}
export namespace N {
}
export namespace N {
export const x = 1;
}
export function F() {
}
export namespace F {
export const x = 1;
}