mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(vue): extend type from correct package
This commit is contained in:
@@ -5,7 +5,8 @@ import type {
|
||||
LIFECYCLE_WILL_LEAVE,
|
||||
} from "@ionic/core/components";
|
||||
|
||||
declare module "@vue/runtime-core" {
|
||||
// https://vuejs.org/guide/typescript/options-api.html#augmenting-custom-options
|
||||
declare module "vue" {
|
||||
export interface ComponentCustomOptions {
|
||||
[LIFECYCLE_DID_ENTER]?: () => void;
|
||||
[LIFECYCLE_DID_LEAVE]?: () => void;
|
||||
|
||||
Reference in New Issue
Block a user