-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing static method when using "import" in typescript #457
Comments
Hi @ianzone, does the following syntax work?
|
Just to clarify, we support CommonJS modules |
It does, but ESM is pretty much the standard for js libraries nowadays. |
Agreed @ianzone. Ram and I chatted with @mrashed-dev on our SDK team and he has share that ESM support is going into active development in a sprint soon. We'll keep you posted. |
Thanks @ianzone for submitting this issue, the feature is complete and will be included in the next major release of the SDK. We will have the first beta coming out very soon! |
Closing this issue as it's been included in the v7 beta releases. |
Describe the bug
Nylas.config() is undefined, when using
import Nylas from 'nylas'
To Reproduce
in test.ts
then run
ts-node test.ts
SDK Version:
6.10.0
The text was updated successfully, but these errors were encountered: