From eff14151f305f11b2c6f2c00bcffca2254b505ca Mon Sep 17 00:00:00 2001 From: Evan Tahler Date: Wed, 13 Nov 2019 10:36:59 -0800 Subject: [PATCH] plugin before/after methods are optional in typedoc --- package-lock.json | 2 +- package.json | 2 +- src/core/plugin.ts | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index ce912225..487b1f68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "node-resque", - "version": "6.0.0", + "version": "6.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b547e51c..4189cfe6 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "node-resque", "description": "an opinionated implementation of resque in node", "license": "Apache-2.0", - "version": "6.0.0", + "version": "6.0.1", "homepage": "http://github.com/taskrabbit/node-resque", "repository": { "type": "git", diff --git a/src/core/plugin.ts b/src/core/plugin.ts index d79deea3..75fc6b89 100644 --- a/src/core/plugin.ts +++ b/src/core/plugin.ts @@ -32,8 +32,8 @@ export abstract class Plugin { } } - abstract beforeEnqueue(): void; - abstract afterEnqueue(): void; - abstract beforePerform(): void; - abstract afterPerform(): void; + abstract beforeEnqueue?(): void; + abstract afterEnqueue?(): void; + abstract beforePerform?(): void; + abstract afterPerform?(): void; }