We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module X.Y { export class Point { constructor(x: number, y: number) { this.x = x; this.y = y; } x: number; y: number; } }
module X.Y { export module Point { export var Origin = new Point(0, 0); } }
Expected (old compiler):
Module 'Point' cannot merge with previous declaration of 'Point' in a different file 'class.ts'.
Actual (new compiler): no error
The text was updated successfully, but these errors were encountered:
Fixed by #33.
Sorry, something went wrong.
No branches or pull requests
file1.ts:
file2.ts:
Expected (old compiler):
Module 'Point' cannot merge with previous declaration of 'Point' in a different file 'class.ts'.
Actual (new compiler): no error
The text was updated successfully, but these errors were encountered: