diff --git a/src/dom/index.ts b/src/dom/index.ts index 628198f2..d9c49952 100644 --- a/src/dom/index.ts +++ b/src/dom/index.ts @@ -24,25 +24,8 @@ export { } from "./native/NativeViewElementNode"; export * from "./nativescript-elements"; - -export { - registerElement, - createElement, - ViewNode, - ElementNode, - logger, - LogLevel, -} from "./basicdom"; -export { - navigate, - goBack, - showModal, - closeModal, - isModalOpened, - ShowModalOptions, - NavigationOptions, - BackNavigationOptions, -} from "./navigation"; +export * from "./basicdom"; +export * from "./navigation"; function installGlobalShims(): SvelteNativeDocument { //expose our fake dom as global document for svelte components diff --git a/src/dom/navigation.ts b/src/dom/navigation.ts index 70d4a5b4..9072a608 100644 --- a/src/dom/navigation.ts +++ b/src/dom/navigation.ts @@ -40,7 +40,7 @@ export function resolveTarget(viewSpec: ViewSpec): View { return viewSpec?.nativeView; } -interface ComponentInstanceInfo { element: NativeViewElementNode, pageInstance: SvelteComponent } +export interface ComponentInstanceInfo { element: NativeViewElementNode, pageInstance: SvelteComponent } export function resolveComponentElement(pageSpec: PageSpec, props?: T): ComponentInstanceInfo { let dummy = createElement('fragment', window.document as unknown as DocumentNode);