Closed mcasimir closed 8 years ago
fnTarget === A.prototype
:)
I see.. now it makes much more sense :). Sorry for the silly report. Thanks!
No problem. If you had static doSomething(){}
it would be what you thought, but then your other one would be wrong.
For class functions decorators the target argument is not an actual reference to the real class but a reference to an instance, sounds weird to me. Is it correct/intended?
My
package.json
:My
.babelrc
: