Open
Description
Problem:
hi,when i use sortablejs and @types/stotablejs in my app, i cannot use import { Sortable } from 'sortablejs'
its cause to error, and cannot use import * as Sortable from 'sortablejs'
, its cause to tip: sortable is not a construcor
i think maybe is for default export, and i cannot want to use allowSyntheticDefaultImports : true
,
so how can i export sortablejs?
JSBin/JSFiddle demonstrating the problem:
Before you create an issue, check it:
- Try master-branch, perhaps the problem has been solved;
- Use the search, maybe we already have an answer;
- If not found, create an example on jsbin.com (draft) and describe the problem.
Bindings:
- Angular
- React
- Polymer: https://github.com/SortableJS/polymer-sortablejs/issues
- Knockout: https://github.com/SortableJS/knockout-sortablejs/issues
- Meteor: https://github.com/SortableJS/meteor-sortablejs/issues