-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
TypeScript Version(s): 2.1.0-dev.20160830 / 2.0.0 / 2.0.2
Code
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"noImplicitAny": false,
"mapRoot": "./_debug",
"sourceMap": true
}
}
const example = function(options: { option1: string, options2: any }) {
//noop
}
export default example;
Running tsc -p .
Expected behavior:
"use strict";
var example = function (options) {
//noop
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = example;
//# sourceMappingURL=_debug/main.js.map
Actual behavior:
"use strict";
var example = function (options) {
//noop
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = example;
//# sourceMappingURL=/Users/user1/ts-rel-root/_debug/main.js.map
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue