8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48065e6 commit e93275eCopy full SHA for e93275e
projects/plotly/src/lib/plotly-via-cdn.module.ts
@@ -33,7 +33,7 @@ export class PlotlyViaCDNModule {
33
PlotlyViaCDNModule.plotlyVersion = version;
34
}
35
36
- public static setPlotlyBundle(bundle: PlotlyBundleName): void {
+ public static setPlotlyBundle(bundle: PlotlyBundleName | null): void {
37
const isOk = bundle === null || PlotlyViaCDNModule.plotlyBundleNames.indexOf(bundle) >= 0;
38
if (!isOk) {
39
const names = PlotlyViaCDNModule.plotlyBundleNames.map(n => `"${n}"`).join(', ');
0 commit comments