You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using skipLibCheck does allow it to run, but so does adding Sortable to the import in dist/index.d.ts, which is already importing other things from sortablejs.
- import { MoveEvent, Options, SortableEvent } from "sortablejs";+ import Sortable, { MoveEvent, Options, SortableEvent } from "sortablejs";
This seems preferable. How does that file get built?
Activity
waynevanson commentedon Sep 29, 2020
Does setting
skipLibCheck: falseor otherskip*settings fix this?wdoug commentedon Oct 7, 2020
Using
skipLibCheckdoes allow it to run, but so does addingSortableto the import indist/index.d.ts, which is already importing other things fromsortablejs.This seems preferable. How does that file get built?
wdoug commentedon Oct 7, 2020
At first glance, it looks like it should already be included here. ❓
dgreuel commentedon Oct 7, 2020
That's what I found as well...not sure why that import doesn't end up in the compiled definitions file.
wdoug commentedon Oct 7, 2020
I wonder if this is the same underlying issue from Parcel: parcel-bundler/parcel#4250
What was the reason for switching to Parcel for building this library? At least the Parcel-2 beta doesn't quite seem ready
kamster94 commentedon Nov 19, 2020
Is that issue going to be resolved? It prevents me from publishing app, and I don't want to use skips
Skip type checking of library definitions
Webpack typescript checking (#1204)
chore(tsconfig): set skipLibCheck true
huangchen1031 commentedon Nov 29, 2021
Use parcel@2.0.1 to build can resolve this problem.