Skip to content
Discussion options

You must be logged in to vote

fooer(this) would pass in this instance of Foo.

Also, in order for this to work, you'll need to make fooer const:

-function fooer(foo: Foo): String = throw("not implemented")
+const function fooer(foo: Foo): String = throw("not implemented")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pauloborges
Comment options

Answer selected by pauloborges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants