Porting default classes with .d.ts
anyone know how to make _feces.feces into feces itself? This will cause error since the library exports the class by default instead of a table/namespace that indexes .feces (which doesn't exist)
12 Replies
what does the library returns look like
so, assuming it's the class
where does the group export
comes from



that is soo weird i just recommend changing the library exports
it mixes a class and an arbitary function
i guess you could type that as a static method
yeahh static method works
i believe
I'll give it a try
one sec
should look something liek this
An export assignment cannot be used in a module with other exported elements.ts(2309)

oh
I have exported types