-
Notifications
You must be signed in to change notification settings - Fork 16
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
typescript types for ESM #964
Comments
Please write the steps to reproduce this error. |
It’s literally just “use esm” https://github.com/tobowers/demo-broken-signal-wire |
This issue originated due to the TS upgrade and it will be fixed in the next release of our realtime-api SDK. In the meantime, if you are blocked, there are two ways to fix it temporarily;
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"esModuleInterop": true,
"moduleResolution": "Node",
...
},
...
}
{
"compilerOptions": {
"target": "ESNext",
"module": "NodeNext",
"esModuleInterop": true,
"moduleResolution": "NodeNext",
"paths": {
"@signalwire/realtime-api": [
"path_to_your_node_modules/@signalwire/realtime-api/dist/realtime-api/src/index.d.ts"
]
},
...
},
...
} |
Closing this one, the fixed should be there in the latest version of the Realtime SDK. |
I'm getting this error when adding the realtime sdk
The text was updated successfully, but these errors were encountered: