Determine if input is a userEvent that is skipped over by close bracket extension

When using the close bracket extension, how can we determine from another plugin if the update was a typed character, but is then skipped over due to the close bracket autocomplete extension?

For example:

    update(update: ViewUpdate) {
      for (const tr of update.transactions) {
        if (tr.isUserEvent('input')) {

when typing console.log() and reaching the last closing brace, the actual input.type user event is skipped over due to the close bracket extension. How would you determine the last item “typed” before any extensions skip over it?