Closed shevchenkobn closed 5 months ago
@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:
🎉 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 😄 I have never seen such a fast open-source issue processing!
🎉 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 😄
I have never seen such a fast open-source issue processing!
@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
😀 https://github.com/pulsecron/pulse/blob/dfed3ee042dd1fc63e3aff74f6bdf4032c3e561c/src/job/unique.ts#L1And disable DOM type definitions by
lib
intsconfig
.