Skip to content

Commit e93275e

Browse files
kylemelloandrefarzat
authored andcommitted
Added null definition to setPlotlyBundle method
1 parent 48065e6 commit e93275e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/plotly/src/lib/plotly-via-cdn.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class PlotlyViaCDNModule {
3333
PlotlyViaCDNModule.plotlyVersion = version;
3434
}
3535

36-
public static setPlotlyBundle(bundle: PlotlyBundleName): void {
36+
public static setPlotlyBundle(bundle: PlotlyBundleName | null): void {
3737
const isOk = bundle === null || PlotlyViaCDNModule.plotlyBundleNames.indexOf(bundle) >= 0;
3838
if (!isOk) {
3939
const names = PlotlyViaCDNModule.plotlyBundleNames.map(n => `"${n}"`).join(', ');

0 commit comments

Comments
 (0)