Skip to content

Commit

Permalink
plugin before/after methods are optional in typedoc
Browse files Browse the repository at this point in the history
  • Loading branch information
evantahler committed Nov 13, 2019
1 parent 65b420d commit eff1415
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions src/core/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit eff1415

Please sign in to comment.