2015-09-15 20:43:28 +02:00
|
|
|
// @module: commonjs
|
2014-07-13 01:04:16 +02:00
|
|
|
// @Filename: arrayOfExportedClass_0.ts
|
|
|
|
class Car {
|
|
|
|
foo: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export = Car;
|
|
|
|
|
|
|
|
// @Filename: arrayOfExportedClass_1.ts
|
|
|
|
///<reference path='arrayOfExportedClass_0.ts'/>
|
2015-09-15 20:43:28 +02:00
|
|
|
import Car = require('./arrayOfExportedClass_0');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
class Road {
|
|
|
|
|
|
|
|
public cars: Car[];
|
|
|
|
|
|
|
|
public AddCars(cars: Car[]) {
|
|
|
|
|
|
|
|
this.cars = cars;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export = Road;
|