-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Hello
Hi, I get this error when I try to build the library, do you get it too?
pnpm run build
> sortablejs-vue3@1.2.7 build sortablejs-vue3
> vite build && vue-tsc --emitDeclarationOnly --project tsconfig.dist.json && mv dist/lib dist/types && rm -rf dist/favicon.ico
vite v4.0.4 building for production...
✓ 4 modules transformed.
dist/sortablejs-vue3.es.js 3.53 kB │ gzip: 1.16 kB
dist/sortablejs-vue3.umd.js 2.00 kB │ gzip: 0.99 kB
src/components/Sortable.vue:6:1 - error TS7056: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.
6 type SortableOptionsProp = Omit<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 SortableOptions | AutoScrollOptions,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
134 });
~~~
135 </script>
Found 1 error in src/components/Sortable.vue:6
Regards
Mathieu
Metadata
Metadata
Assignees
Labels
No labels