mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 15:43:23 -06:00
27f66a6df9
* moving coreModule to app/angular and isolating it more * fixed ts issue
13 lines
281 B
TypeScript
13 lines
281 B
TypeScript
import coreModule from 'app/angular/core_module';
|
|
|
|
export class AlertSrv {
|
|
constructor() {}
|
|
|
|
set() {
|
|
console.warn('old deprecated alert srv being used');
|
|
}
|
|
}
|
|
|
|
// this is just added to not break old plugins that might be using it
|
|
coreModule.service('alertSrv', AlertSrv);
|