see : #36
I think this was previously also missing, was added and then removed again?
Not entirely sure how to read that change and a lot of time has passed since then.
The TypeScript typings suggest that sourceIndex should exist on all nodes and should never be undefined.
Was there a specific reason why sourceIndex is missing, or should we just add it?