mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
chore(tslint): fix noImplicitAny errors
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import {Menu} from './menu';
|
||||
import {MenuType} from './menu-types';
|
||||
import {Platform} from '../../platform/platform';
|
||||
|
||||
|
||||
/**
|
||||
@ -292,7 +293,7 @@ export class MenuController {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
static create(type, menuCmp) {
|
||||
static create(type: string, menuCmp: Menu, platform: Platform) {
|
||||
return new menuTypes[type](menuCmp);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user