It’s my assumption that the afterInit hook is supposed to return an instance of the table after it is initialized. Currently, it’s returning undefined with the latest versions of Angular and HoT.
afterInit does not take any arguments https://github.com/handsontable/handsontable/blob/master/handsontable.d.ts#L1776
this is the reference to the table component.
Would it be possible for you to show me an example in that sandbox of how you mean using this to return that specific instance?
Sorry, for the delay @pfifelski
We got a report that the newest version of the wrapper shows a warning for the method that is used to pass the reference to the table.
I have reported it here https://github.com/handsontable/handsontable/issues/8664