The library currently provides only default export, which makes it a bit inconvenient for IntelliSense to provide autocomplete and automatic imports. Re-exporting with export { default as cc } from 'classcat' somewhat solves this issue, but in my opinion having named export would be beneficial as it improves developer experience.
The library currently provides only default export, which makes it a bit inconvenient for IntelliSense to provide autocomplete and automatic imports. Re-exporting with
export { default as cc } from 'classcat'
somewhat solves this issue, but in my opinion having named export would be beneficial as it improves developer experience.