Report types in titlecase
export declare const enum ReportType {
Dashboard = "Dashboard",
Report = "Report",
Tile = "Tile"
}
fail in powerbi.js embedNew function at
var Component = utils.find(function (component) {
return componentType === component.type.toLowerCase();
}, Service.components
);
'Report' is not the same as 'report'. ('Report' === 'report')
Let me know if I could have done something else to fix this.