mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
chore(noImplicitAny): add noImplicitAny to tsconfig
This commit is contained in:
@ -608,5 +608,5 @@ export abstract class NavController {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
abstract registerChildNav(nav: any);
|
||||
abstract registerChildNav(nav: any): void;
|
||||
}
|
||||
|
@ -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) => {
|
||||
|
Reference in New Issue
Block a user