This PR addresses problems with using Dom.waitForRefs generically. Previously, a consumer had to inspect the type definition themselves to determine whether or not to use waitForRefs for a given type, but with this change, they can safely use it without such a check.
This PR addresses problems with using
Dom.waitForRefs
generically. Previously, a consumer had to inspect the type definition themselves to determine whether or not to usewaitForRefs
for a given type, but with this change, they can safely use it without such a check.