Skip to content

Commit

Permalink
Merge pull request #1317 from micalevisk/patch-1
Browse files Browse the repository at this point in the history
feat: remove deprecated `SchedulerRegistry#doesExists` method
  • Loading branch information
kamilmysliwiec committed Jun 17, 2023
2 parents 7c05e97 + e46905e commit 30bd2f0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/scheduler.registry.ts
Expand Up @@ -10,11 +10,6 @@ export class SchedulerRegistry {
private readonly timeouts = new Map<string, any>();
private readonly intervals = new Map<string, any>();

/**
* @deprecated Use the `doesExist` method instead.
*/
// TODO(v2): drop this.
doesExists = this.doesExist;
doesExist(type: 'cron' | 'timeout' | 'interval', name: string) {
switch (type) {
case 'cron':
Expand Down

0 comments on commit 30bd2f0

Please sign in to comment.