Closed iltimasd closed 1 year ago
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
TypeError: Discojs__default.default is not a constructor
current fix is to import the fn/constructor by name:
import {Discojs} from "discojs";
My bad, missed this one when updating the documentation - but named export is the way now. Will change it asap.
Documentation has the import as follows:
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: