Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit 5e410a3

Browse files
macklinuJamesHenry
authored andcommitted
Chore: Update typescript-eslint-parser and typescript (#115)
1 parent fdedc7e commit 5e410a3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/rules/adjacent-overload-signatures.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ module.exports = {
4444
}
4545
case "DeclareFunction":
4646
case "FunctionDeclaration":
47-
case "TSNamespaceFunctionDeclaration": {
47+
case "TSNamespaceFunctionDeclaration":
48+
case "TSEmptyBodyFunctionDeclaration":
49+
case "TSEmptyBodyDeclareFunction": {
4850
return member.id.name;
4951
}
5052
case "TSMethodSignature": {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"lint-staged": "^6.0.0",
3434
"mocha": "^4.0.1",
3535
"prettier": "^1.11.1",
36-
"typescript": "~2.6.1",
37-
"typescript-eslint-parser": "^10.0.0"
36+
"typescript": "~2.8.1",
37+
"typescript-eslint-parser": "^15.0.0"
3838
},
3939
"lint-staged": {
4040
"*.js": [

0 commit comments

Comments
 (0)