mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
* 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);
|