You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 18, 2022. It is now read-only.
This package was declared using `module.exports = ...` or some variant. It should be declared with an `export = ...` like one of the following:
### Variables```tsdeclarevar xyz:SomeType;
export=xyz;
```### Classes```tsclassFoo {
// ...
}
export=Foo```### Functions```tsfunction foo():any;
export=foo;
```
You can then import using a more appropriate syntax like
```tsimportfoo=require("foo");
```
Alternatively, to import the entity using a default import as follows, you will need to enable `esModuleInterop`.
```tsimportfoofrom"foo";
```[See more here in the FAQ](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/9f9f6430117d025aef62ed56128deb65508edc86/README.md#a-package-uses-export--but-i-prefer-to-use-default-imports-can-i-change-export--to-export-default).
And emit a message like