-
-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Labels
Description
Is there any reason why types and interfaces are not exported?
There is not exported namespace with types, nor any of the types or interfaces in purgecss.d.ts.
Example use-case:
/** Error: Module '"purgecss"' has no exported member 'UserDefinedSafelist'. */
const myCoolFunction = async (safelist: UserDefinedSafelist) => {
await new PurgeCSS().purge({
content: something,
css: something,
safelist: safelist
});
}Is it be possible to export all non-internal types and interfaces?