Open danyalejandro opened 4 years ago
Not sure if this project is still maintained, but I tried using it on a typescript project and it throws a TypeError: storagedb2_1.default is not a constructor which causes compilation to fail. Maybe a .d.ts definitions file would be needed.
TypeError: storagedb2_1.default is not a constructor
hi @danyalejandro, did you try import * as StorageDB from 'storagedb2'? I'll probably rewrite this project with typescript.
import * as StorageDB from 'storagedb2'
Not sure if this project is still maintained, but I tried using it on a typescript project and it throws a
TypeError: storagedb2_1.default is not a constructor
which causes compilation to fail. Maybe a .d.ts definitions file would be needed.