Skip to content

Commit 4098058

Browse files
committed
Merge branch 'master' into es6-new-target
2 parents 4620fbd + e128b94 commit 4098058

File tree

281 files changed

+6055
-1510
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+6055
-1510
lines changed

Jakefile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,6 @@ task("update-sublime", ["local", serverFile], function () {
11791179
var tslintRuleDir = "scripts/tslint";
11801180
var tslintRules = [
11811181
"nextLineRule",
1182-
"preferConstRule",
11831182
"booleanTriviaRule",
11841183
"typeOperatorSpacingRule",
11851184
"noInOperatorRule",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"through2": "latest",
7676
"travis-fold": "latest",
7777
"ts-node": "latest",
78-
"tslint": "4.0.0-dev.3",
78+
"tslint": "next",
7979
"typescript": "next"
8080
},
8181
"scripts": {

scripts/tslint/preferConstRule.ts

Lines changed: 0 additions & 204 deletions
This file was deleted.

src/compiler/binder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ namespace ts {
283283
// Parameters with names are handled at the top of this function. Parameters
284284
// without names can only come from JSDocFunctionTypes.
285285
Debug.assert(node.parent.kind === SyntaxKind.JSDocFunctionType);
286-
let functionType = <JSDocFunctionType>node.parent;
287-
let index = indexOf(functionType.parameters, node);
286+
const functionType = <JSDocFunctionType>node.parent;
287+
const index = indexOf(functionType.parameters, node);
288288
return "arg" + index;
289289
case SyntaxKind.JSDocTypedefTag:
290290
const parentNode = node.parent && node.parent.parent;

0 commit comments

Comments
 (0)