Open birkskyum opened 2 years ago
When writing:
import Worker from 'web-worker';
I similarly see: No default export found in imported module "web-worker" as a vscode warning
No default export found in imported module "web-worker"
It's strange, because to me it looks like there is a default export:
type ConstructorOf<C> = { new (...args: any[]): C } declare const _default: ConstructorOf<Worker> export default _default
When writing:
I similarly see:
No default export found in imported module "web-worker"
as a vscode warningIt's strange, because to me it looks like there is a default export: