chore(noImplicitAny): add noImplicitAny to tsconfig

This commit is contained in:
Adam Bradley
2017-01-12 10:14:50 -06:00
parent 7906e90ae0
commit 24d0052541
36 changed files with 286 additions and 234 deletions

View File

@ -608,5 +608,5 @@ export abstract class NavController {
/**
* @private
*/
abstract registerChildNav(nav: any);
abstract registerChildNav(nav: any): void;
}

View File

@ -7,7 +7,7 @@ describe('ViewController', () => {
it('should emit LifeCycleEvent when called with component data', (done) => {
// arrange
let viewController = mockView();
subscription = viewController.willEnter.subscribe((event) => {
subscription = viewController.willEnter.subscribe((event: any) => {
// assert
expect(event).toEqual(null);
done();
@ -24,7 +24,7 @@ describe('ViewController', () => {
it('should emit LifeCycleEvent when called with component data', (done) => {
// arrange
let viewController = mockView();
subscription = viewController.didEnter.subscribe((event) => {
subscription = viewController.didEnter.subscribe((event: any) => {
// assert
expect(event).toEqual(null);
done();
@ -41,7 +41,7 @@ describe('ViewController', () => {
it('should emit LifeCycleEvent when called with component data', (done) => {
// arrange
let viewController = mockView();
subscription = viewController.willLeave.subscribe((event) => {
subscription = viewController.willLeave.subscribe((event: any) => {
// assert
expect(event).toEqual(null);
done();
@ -58,7 +58,7 @@ describe('ViewController', () => {
it('should emit LifeCycleEvent when called with component data', (done) => {
// arrange
let viewController = mockView();
subscription = viewController.didLeave.subscribe((event) => {
subscription = viewController.didLeave.subscribe((event: any) => {
// assert
expect(event).toEqual(null);
done();
@ -75,7 +75,7 @@ describe('ViewController', () => {
it('should emit LifeCycleEvent when called with component data', (done) => {
// arrange
let viewController = mockView();
subscription = viewController.willUnload.subscribe((event) => {
subscription = viewController.willUnload.subscribe((event: any) => {
expect(event).toEqual(null);
done();
}, (err: any) => {