2014-07-13 01:04:16 +02:00
|
|
|
//@module: amd
|
2014-08-07 23:47:49 +02:00
|
|
|
//@declaration: true
|
2014-07-13 01:04:16 +02:00
|
|
|
export class A<T1>{
|
|
|
|
constructor(callback: (self: A<T1>) => void) {
|
|
|
|
var child = new B(this);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export class B<T2> {
|
|
|
|
constructor(parent: T2) { }
|
|
|
|
}
|