Chore: No implict any fixes (#17020)

This commit is contained in:
Torkel Ödegaard
2019-05-13 09:38:19 +02:00
committed by GitHub
parent 2fff8f77dc
commit e0b760e08e
53 changed files with 321 additions and 241 deletions

View File

@@ -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';