TypeScript/tests/baselines/reference/unusedImports12.js

28 lines
526 B
TypeScript

//// [tests/cases/compiler/unusedImports12.ts] ////
//// [b.ts]
export class Member {}
export default Member;
//// [a.ts]
import { Member } from './b';
import d, { Member as M } from './b';
import * as ns from './b';
import r = require("./b");
//// [b.js]
"use strict";
exports.__esModule = true;
var Member = /** @class */ (function () {
function Member() {
}
return Member;
}());
exports.Member = Member;
exports["default"] = Member;
//// [a.js]
"use strict";
exports.__esModule = true;