Created
December 5, 2012 15:04
-
-
Save hajimehoshi/4216218 to your computer and use it in GitHub Desktop.
TypeScript Sadness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module b { | |
class Foo { | |
public foo() { | |
console.log('B foo'); | |
} | |
} | |
} | |
module a { | |
export class Foo { | |
public foo() { | |
var b = new b.Foo(); | |
b.foo(); | |
} | |
} | |
} | |
var aFoo = new a.Foo(); | |
aFoo.foo(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment