Closed
Description
A following code was compiled with no error on TS1.7 but latest nightly build is not. Is this breaking changes?
declare module "a" {
export default 0
export const a;
export type a = typeof a;
}
$ node_modules/.bin/tsc --version
Version 1.8.0-dev.20151210
$ node_modules/.bin/tsc a.d.ts
a.d.ts(3,16): error TS2323: Cannot redeclare exported variable 'a'.
a.d.ts(4,3): error TS2323: Cannot redeclare exported variable 'a'.