2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/arrayOfExportedClass_1.ts ===
|
|
|
|
///<reference path='arrayOfExportedClass_0.ts'/>
|
|
|
|
import Car = require('arrayOfExportedClass_0');
|
2015-04-13 23:01:57 +02:00
|
|
|
>Car : typeof Car, Symbol(Car, Decl(arrayOfExportedClass_1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
class Road {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Road : Road, Symbol(Road, Decl(arrayOfExportedClass_1.ts, 1, 47))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
public cars: Car[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>cars : Car[], Symbol(cars, Decl(arrayOfExportedClass_1.ts, 3, 12))
|
|
|
|
>Car : Car, Symbol(Car, Decl(arrayOfExportedClass_1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
public AddCars(cars: Car[]) {
|
2015-04-13 23:01:57 +02:00
|
|
|
>AddCars : (cars: Car[]) => void, Symbol(AddCars, Decl(arrayOfExportedClass_1.ts, 5, 23))
|
|
|
|
>cars : Car[], Symbol(cars, Decl(arrayOfExportedClass_1.ts, 7, 19))
|
|
|
|
>Car : Car, Symbol(Car, Decl(arrayOfExportedClass_1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
this.cars = cars;
|
|
|
|
>this.cars = cars : Car[]
|
2015-04-13 23:01:57 +02:00
|
|
|
>this.cars : Car[], Symbol(cars, Decl(arrayOfExportedClass_1.ts, 3, 12))
|
|
|
|
>this : Road, Symbol(Road, Decl(arrayOfExportedClass_1.ts, 1, 47))
|
|
|
|
>cars : Car[], Symbol(cars, Decl(arrayOfExportedClass_1.ts, 3, 12))
|
|
|
|
>cars : Car[], Symbol(cars, Decl(arrayOfExportedClass_1.ts, 7, 19))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export = Road;
|
2015-04-13 23:01:57 +02:00
|
|
|
>Road : Road, Symbol(Road, Decl(arrayOfExportedClass_1.ts, 1, 47))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/compiler/arrayOfExportedClass_0.ts ===
|
|
|
|
class Car {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Car : Car, Symbol(Car, Decl(arrayOfExportedClass_0.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo: string;
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : string, Symbol(foo, Decl(arrayOfExportedClass_0.ts, 0, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export = Car;
|
2015-04-13 23:01:57 +02:00
|
|
|
>Car : Car, Symbol(Car, Decl(arrayOfExportedClass_0.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|