import { EmbedProps } from "./PowerBIEmbed" ; param map export function stringifyMap ( map ) { if ( ! map ) { return '' ; } const mapEntries = Array . from ( map ) ; return JSON . stringify ( mapEntries . map ( ( mapEntry ) => { return [ mapEntry [ 0 ] , mapEntry [ 1 ] ? mapEntry [ 1 ] . toString ( ) : '' ] ; } ) ) ; } ;