grafana/public/app/features/variables/pickers
Josh Hunt 4b4d546e32
Typed variables pt4: Remove generics from getVariable (#53017)
* wip

* make diff easier to read

* Update template_srv getVariables to return new TypedVariableModel

* update VariableType to use the type from TypedVariableModel

* tidy things up

* Chore: Use type-accurate mock variables in tests

* Chore: Type VariableState to use TypedVariableModel

* fix typo

* remove type assertion from template_srv.getVariables

* use typescript/no-redeclare for compatibility with ts overloads

* remove generics from getVariable() and overload it to only return undefined based on arguments

* update usages of getVariable()

* Fix Interval variable options picker not working
2022-08-05 13:44:52 +01:00
..
OptionsPicker Typed variables pt4: Remove generics from getVariable (#53017) 2022-08-05 13:44:52 +01:00
shared Dashboards: Disable variable pickers for snapshots (#52827) 2022-07-29 16:29:55 +01:00
index.ts Chore: reduce strict errors for variables (#31241) 2021-02-18 06:21:35 +01:00
PickerRenderer.tsx Dashboards: Disable variable pickers for snapshots (#52827) 2022-07-29 16:29:55 +01:00
types.ts Dashboards: Disable variable pickers for snapshots (#52827) 2022-07-29 16:29:55 +01:00