/1.js
export default SomeClass {
....
func(somefunc) {
somefunc(); <----- ERR: somefunc is not a function
}
}
/2.js
import SomeClass from '1.js';
someNewClass {
SomeClass.func(this.blablafunc())
blablafunc() {
return 1;
{
}
SomeClass.func(this.blablafunc())
SomeClass.func(this.blablafunc)
SomeClass.func(this.blablafunc)