Discojs is not exported by default
Closed this issue · 1 comments
iltimasd commented
Documentation has the import as follows:
import Discojs from "discojs";
but the above returns the following type error: TypeError: Discojs__default.default is not a constructor
current fix is to import the fn/constructor by name:
import {Discojs} from "discojs";
aknorw commented
My bad, missed this one when updating the documentation - but named export is the way now. Will change it asap.