mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(many): replace any types and add tech debt tickets (#26293)
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
@@ -166,7 +166,7 @@ const createMenuController = () => {
|
||||
};
|
||||
|
||||
const _createAnimation = (type: string, menuCmp: MenuI) => {
|
||||
const animationBuilder = menuAnimations.get(type) as any;
|
||||
const animationBuilder = menuAnimations.get(type) as any; // TODO(FW-2832): type
|
||||
if (!animationBuilder) {
|
||||
throw new Error('animation not registered');
|
||||
}
|
||||
@@ -209,6 +209,7 @@ const createMenuController = () => {
|
||||
|
||||
if (typeof document !== 'undefined') {
|
||||
document.addEventListener('ionBackButton', (ev: any) => {
|
||||
// TODO(FW-2832): type
|
||||
const openMenu = _getOpenSync();
|
||||
if (openMenu) {
|
||||
(ev as BackButtonEvent).detail.register(MENU_BACK_BUTTON_PRIORITY, () => {
|
||||
|
||||
Reference in New Issue
Block a user