interface RefUnwrapBailTypes
This is a special exported interface for other packages to declare additional types that should bail out for ref unwrapping. For example @vue/runtime-dom can declare it like so in its d.ts:
declare module '@vue/reactivity' {
export interface RefUnwrapBailTypes {
runtimeDOMBailTypes: Node | Window
}
}
Note that api-extractor somehow refuses to include declare module
augmentations in its generated d.ts, so we have to manually append them to the final generated d.ts in our build process.