2015-09-15 20:43:28 +02:00
|
|
|
// @module: commonjs
|
|
|
|
// @declaration: true
|
2014-07-13 01:04:16 +02:00
|
|
|
// @Filename: unusedImportDeclaration_testerB.ts
|
|
|
|
class TesterB {
|
|
|
|
me: string;
|
|
|
|
}
|
|
|
|
export = TesterB;
|
|
|
|
|
|
|
|
// @Filename: unusedImportDeclaration_testerA.ts
|
2015-09-15 20:43:28 +02:00
|
|
|
import B = require("./unusedImportDeclaration_testerB");
|
2014-07-13 01:04:16 +02:00
|
|
|
var thingy: B = {
|
|
|
|
me: "A"
|
|
|
|
};
|
|
|
|
declare function foo(a: string): void;
|
|
|
|
foo("IN " + thingy.me + "!");
|