mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
* Chore: Remove angular dependency from data sources * Removes default export for time and template srvs Also uses @grafana/runtime versions of the interfaces where possible * Replace usage of internal templateSrv where possible * Use runtime templateSrv in a couple more places
5 lines
156 B
TypeScript
5 lines
156 B
TypeScript
import coreModule from 'app/core/core_module';
|
|
import { getTemplateSrv } from './template_srv';
|
|
|
|
coreModule.factory('templateSrv', () => getTemplateSrv());
|