Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { install as navigationPlugin } from './plugins/navigation';
import { isKnownView, registerElement } from './registry';
import { setRootApp } from './runtimeHelpers';

declare module '@vue/runtime-core' {
declare module 'vue' {
interface App {
start(): ComponentPublicInstance | undefined;
mount(
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/modals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { isObject } from '@vue/shared';
import { NSVElement, NSVRoot } from '../dom';
import { CreateNativeViewProps, createNativeView } from '../runtimeHelpers';

declare module '@vue/runtime-core' {
declare module 'vue' {
export interface ComponentCustomProperties {
$showModal: <T = any, P = any>(
component: Component<P>,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { App, Component, Ref, nextTick, unref } from '@vue/runtime-core';
import { NSVElement, NSVRoot } from '../dom';
import { CreateNativeViewProps, createNativeView } from '../runtimeHelpers';

declare module '@vue/runtime-core' {
declare module 'vue' {
export interface ComponentCustomProperties {
/**
* todo: update docblock
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { DefineComponent } from '@vue/runtime-core';

declare module '@vue/runtime-core' {
declare module 'vue' {
interface GlobalComponents {
Frame: DefineComponent<{}>;
Page: DefineComponent;
Expand Down