Skip to content

Commit

Permalink
[WIP] Add more types test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-mc committed Oct 14, 2018
1 parent dfc8291 commit f838364
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ class Foo {
#foo() {}
get #foo() {}
set #foo(bar) {}
* #foo() {}
async * #foo() {}
get #bar() {}
set #baz(taz) {}

static async foo() {}
static foo() {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "plugins": ["classPrivateMethods"] }
{ "plugins": ["classPrivateMethods", "asyncGenerators"] }
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ class Foo {

set #foo(bar) {}

*#foo() {}

async *#foo() {}

get #bar() {}

set #baz(taz) {}

static async foo() {}

static foo() {}
Expand Down

0 comments on commit f838364

Please sign in to comment.