Skip to content

Instantly share code, notes, and snippets.

@hajimehoshi
Created December 5, 2012 15:04
Show Gist options
  • Save hajimehoshi/4216218 to your computer and use it in GitHub Desktop.
Save hajimehoshi/4216218 to your computer and use it in GitHub Desktop.
TypeScript Sadness
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