From 9a7bb3db01fe2e99ccc12285c63323bc67c278e8 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Mon, 20 Jun 2022 19:50:32 +1000 Subject: Increase type-consistency via server-classes and client-types --- src/App.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/App.vue') diff --git a/src/App.vue b/src/App.vue index cddb027..99f4018 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,8 +14,8 @@ import SearchIcon from './components/icon/SearchIcon.vue'; import PlayIcon from './components/icon/PlayIcon.vue'; import SettingsIcon from './components/icon/SettingsIcon.vue'; // Other -import type {TolMap} from './tol'; -import {TolNode} from './tol'; +import type {TolMap} from './lib'; +import {TolNode} from './lib'; import {LayoutNode, initLayoutTree, initLayoutMap, tryLayout} from './layout'; import type {LayoutOptions, LayoutTreeChg} from './layout'; import {arraySum, randWeightedChoice, getScrollBarWidth} from './lib'; @@ -302,7 +302,7 @@ export default defineComponent({ }, onDetachedAncestorClick(layoutNode: LayoutNode, alsoCollapse = false){ if (!this.handleActionForTutorial('unhideAncestor')){ - return; + return Promise.resolve(false); } this.setLastFocused(null); this.activeRoot = layoutNode; -- cgit v1.2.3