grafana/public/app
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
..
angular TopNav: Make dashboard toolbar actions work in new top nav (#51950) 2022-07-14 20:34:00 +02:00
core i18n: Translates the Share Panel modal (#53297) 2022-08-04 16:43:49 +01:00
features Typed variables pt4: Remove generics from getVariable (#53017) 2022-08-05 13:44:52 +01:00
partials Chore: Migrates remaining Angular modals to React (#33476) 2021-04-28 15:22:28 +02:00
plugins Loki: Fix producing correct log volume query for query with comments (#53254) 2022-08-04 17:58:39 +02:00
polyfills WIP Chore: reduce strict errors (#40462) 2021-10-15 08:57:55 +02:00
routes Data Connections: Add data sources (#52436) 2022-07-25 14:29:21 +02:00
store Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
types RBAC: Add RBAC for query caching (#52113) 2022-07-28 09:49:58 +02:00
app.ts GrafanaContext: Exploring a way to get rid of global scope singletons (#52128) 2022-07-23 17:09:03 +02:00
AppWrapper.tsx Chore: Enable React strict mode (#53126) 2022-08-02 15:27:49 +01:00
dev.ts React: Add why-did-you-render dev extension to better see what components re-render and why (in console) (#23455) 2020-04-09 19:44:05 +02:00
index.ts Type window.nonce (#51200) 2022-06-22 09:28:05 +01:00