Skip to content

Commit e93275e

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
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)