Return value of two-way binding back conversion function


The documentation says that the makeTwoWay() conversion function doesn’t have a return value.

But in the columnResizing example it seems to return an array.

So when does the back conversion function need to return a value? Or am I misunderstanding the documentation/code?

That’s really odd – it’s declared incorrectly in our sources and yet the TypeScript compiler does not complain about using the supposedly “void” return value. We’ll look into it tomorrow.

We’ve fixed it in version 2.1.9. Thanks for pointing out the inconsistency.

1 Like