mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 19:30:36 -06:00
27f66a6df9
* moving coreModule to app/angular and isolating it more * fixed ts issue
4 lines
149 B
TypeScript
4 lines
149 B
TypeScript
import { IScope } from 'angular';
|
|
|
|
export const promiseToDigest = ($scope: IScope) => (promise: Promise<any>) => promise.finally($scope.$evalAsync);
|