huan / rx-queue

Easy to Use RxJS Queue for Throttle/Debounce/Delay/DelayExecute
https://paka.dev/npm/rx-queue
Apache License 2.0
74 stars 7 forks source link

Issues with compilerOptions: target: ES2015 #64

Open tyanders1987 opened 3 years ago

tyanders1987 commented 3 years ago

Hello, I am having an issue. I am using Angular 9 with ES2015. If I change to ES5, there are no issues. I'd prefer not to have to change my target from ES2015 to ES5. Is there any other work around?

Specifically, I am seeing the below error when trying to instantiate a new QueueDelayExecuter.

Error: Class constructor Subject cannot be invoked without 'new'

huan commented 3 years ago

Will check it later.

And it would be easy to fix it quick if you can provide a minimum reproduce able repo or add a unit test to fail your case.

huan commented 2 years ago

@tyanders1987 Can you provide a minimum reproducible code so that I can see what happened exactly?