TypeScript/tests/baselines/reference/transpile/Transpile with emit decorators and emit metadata.js
Yui 0e6f8eb2bc Using baselines for transpile unittests (#9195)
* Conver to Transpile unittest to use baselines instead

* Add baselines

* Fix linting error
2016-06-16 10:50:01 -07:00

19 lines
No EOL
508 B
TypeScript

"use strict";
var db_1 = require('./db');
function someDecorator(target) {
return target;
}
var MyClass = (function () {
function MyClass(db) {
this.db = db;
this.db.doSomething();
}
MyClass = __decorate([
someDecorator,
__metadata('design:paramtypes', [(typeof (_a = typeof db_1.db !== 'undefined' && db_1.db) === 'function' && _a) || Object])
], MyClass);
return MyClass;
var _a;
}());
exports.MyClass = MyClass;
//# sourceMappingURL=file.js.map