-
Notifications
You must be signed in to change notification settings - Fork 11
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
>1.1.2 doesn't compile in TypeScript projects with dom
library disabled
#40
Comments
dom
library disableddom
library disabled
dom
library disableddom
library disabled
@shevchenkobn I will solve these and give you an answer as soon as possible. |
🎉 This Issue is included in version 1.5.2 🎉 The release is available on: |
Wow, thank you! You did it blazingly fast! Even I took much longer to respond 😄 |
@shevchenkobn I've solved this, but please check if your problem has been solved as well |
Description
dom
type definitions (it can be done through settingtsc --lib es6
or similar).Compilation fails with the error:
Code example
Compile this code
index.ts
package.json
Additional context
Workaround
Add the declaration augmentation file (like
src\@types\pulse-fixes.d.ts
):Or simply uncomment the commented part of the Code example.
Fix
Import
Document
frommongodb
in@pulsecron/pulse/src/job/unique
😀pulse/src/job/unique.ts
Line 1 in dfed3ee
And disable DOM type definitions by
lib
intsconfig
.The text was updated successfully, but these errors were encountered: