mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: No implict any fixes (#17020)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import _ from 'lodash';
|
||||
import coreModule from 'app/core/core_module';
|
||||
// @ts-ignore
|
||||
import Drop from 'tether-drop';
|
||||
|
||||
export function infoPopover() {
|
||||
@@ -7,7 +8,7 @@ export function infoPopover() {
|
||||
restrict: 'E',
|
||||
template: '<i class="fa fa-info-circle"></i>',
|
||||
transclude: true,
|
||||
link: (scope, elem, attrs, ctrl, transclude) => {
|
||||
link: (scope: any, elem: any, attrs: any, transclude: any) => {
|
||||
const offset = attrs.offset || '0 -10px';
|
||||
const position = attrs.position || 'right middle';
|
||||
let classes = 'drop-help drop-hide-out-of-bounds';
|
||||
@@ -23,7 +24,7 @@ export function infoPopover() {
|
||||
elem.addClass('gf-form-help-icon--' + attrs.mode);
|
||||
}
|
||||
|
||||
transclude((clone, newScope) => {
|
||||
transclude((clone: any, newScope: any) => {
|
||||
const content = document.createElement('div');
|
||||
content.className = 'markdown-html';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user