From ca3b3197158bff01db364b993b498ba1dbb60463 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 14 Aug 2022 07:11:21 +0200 Subject: [PATCH] chore(gui-v2): add shims for 'just-clone' pkg --- packages/nc-gui-v2/composables/useColumnCreateStore.ts | 2 +- packages/nc-gui-v2/just-clone-shims.d.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 packages/nc-gui-v2/just-clone-shims.d.ts diff --git a/packages/nc-gui-v2/composables/useColumnCreateStore.ts b/packages/nc-gui-v2/composables/useColumnCreateStore.ts index fb57c1fca3..78ec8677ec 100644 --- a/packages/nc-gui-v2/composables/useColumnCreateStore.ts +++ b/packages/nc-gui-v2/composables/useColumnCreateStore.ts @@ -232,6 +232,6 @@ export { useProvideColumnCreateStore } export function useColumnCreateStoreOrThrow() { const columnCreateStore = useColumnCreateStore() - if (columnCreateStore == null) throw new Error('Please call `useColumnCreateStore` on the appropriate parent component') + if (columnCreateStore == null) throw new Error('Please call `useProvideColumnCreateStore` on the appropriate parent component') return columnCreateStore } diff --git a/packages/nc-gui-v2/just-clone-shims.d.ts b/packages/nc-gui-v2/just-clone-shims.d.ts new file mode 100644 index 0000000000..667284c0d6 --- /dev/null +++ b/packages/nc-gui-v2/just-clone-shims.d.ts @@ -0,0 +1 @@ +declare module 'just-clone'