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

Commit

Permalink
Test: Fixed adjacent-overload-signatures barfing on no-name, generic,…
Browse files Browse the repository at this point in the history
… default exports (#160)
  • Loading branch information
bradzacher authored and JamesHenry committed Nov 4, 2018
1 parent 4c2b336 commit 33da977
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/lib/rules/adjacent-overload-signatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ class Foo {
bar(): void {}
baz(): void {}
}
`
`,
// examples from https://github.com/nzakas/eslint-plugin-typescript/issues/138
"export default function<T>(foo : T) {}",
"export default function named<T>(foo : T) {}"
],
invalid: [
{
Expand Down

0 comments on commit 33da977

Please sign in to comment.