noImplicitAny: Reduce errors to 3800-ish (#17781)

* Reduce noImplicitAny errors to 3900-ish

* Fix lots of errors

* Add interface
This commit is contained in:
Tobias Skarhed
2019-06-27 13:21:04 +02:00
committed by Torkel Ödegaard
parent 013a1abb6f
commit 3045daedbd
29 changed files with 302 additions and 238 deletions

View File

@@ -1,6 +1,7 @@
// Libraries
import _ from 'lodash';
import $ from 'jquery';
// @ts-ignore
import Drop from 'tether-drop';
// Utils and servies

View File

@@ -1,10 +1,12 @@
import { route } from 'angular';
interface RegisterRoutesHandler {
($routeProvider): any;
($routeProvider: route.IRouteProvider): any;
}
const handlers: RegisterRoutesHandler[] = [];
export function applyRouteRegistrationHandlers($routeProvider) {
export function applyRouteRegistrationHandlers($routeProvider: route.IRouteProvider) {
for (const handler of handlers) {
handler($routeProvider);
}