packageDocumentation module import * as React from "react" ; public export interface ReactMessage { reactNode : React . ReactNode ; } public export type MessageType = string | HTMLElement | ReactMessage ; internal export const isHTMLElement = ( message ) : message is HTMLElement => { return ( message as HTMLElement ) . outerHTML !== undefined ; } ; internal export const isReactMessage = ( message ) : message is ReactMessage => { return ( message as ReactMessage ) . reactNode !== undefined ; } ;