We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79aa3a8 + b052864 commit deb8b6eCopy full SHA for deb8b6e
src/FeathersVuexPagination.ts
@@ -1,4 +1,20 @@
1
-import { createElement, computed, watch } from '@vue/composition-api'
+import {
2
+ // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
3
+ // @ts-ignore
4
+ createElement as baseCreateElement,
5
6
7
+ h,
8
+ computed,
9
+ watch
10
+} from '@vue/composition-api'
11
+import { CreateElement } from 'vue'
12
+
13
+/**
14
+ * Allow for usage with newer (^1.0.0) @vue/composition-api releases
15
+ * See: https://github.com/feathersjs-ecosystem/feathers-vuex/issues/504
16
+ */
17
+const createElement = (baseCreateElement || h) as CreateElement
18
19
export default {
20
name: 'FeathersVuexPagination',
0 commit comments