The types of perfect-scrollbar declare an ES module default export, but its CommonJS entry point assigns the class to module.exports, which is what a default import from an ES module provides at runtime.
perfect-scrollbar
module.exports
The types of
perfect-scrollbardeclare an ES module default export, but its CommonJS entry point assigns the class tomodule.exports, which is what a default import from an ES module provides at runtime.