mirror of
https://github.com/grafana/grafana.git
synced 2025-09-27 01:44:03 +08:00
10 lines
332 B
TypeScript
10 lines
332 B
TypeScript
import { VariableWithMultiSupport } from 'app/features/templating/types';
|
|
import { OptionsVariableBuilder } from './optionsVariableBuilder';
|
|
|
|
export class MultiVariableBuilder<T extends VariableWithMultiSupport> extends OptionsVariableBuilder<T> {
|
|
withMulti(multi = true) {
|
|
this.variable.multi = multi;
|
|
return this;
|
|
}
|
|
}
|