> 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
ELIFECYCLE Command failed with exit code 1.
Describe the bug
Hi,
I have this error on the repo MaxLeiter/sortablejs-vue3, when I run
pnpm run build
Thanks
Used Package Manager
pnpm