Skip to content

Commit

Permalink
fix: Invalid signature for decorator
Browse files Browse the repository at this point in the history
Closes #1174
  • Loading branch information
Gerrit0 committed Jan 15, 2020
1 parent 15ea85f commit 33be747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/options/options.ts
Expand Up @@ -341,7 +341,7 @@ export function BindOption<K extends keyof TypeDocOptionMap>(name: K):
* This overload is intended for plugin use only with looser type checks. Do not use internally.
*/
export function BindOption(name: string):
(target: { application: Application } | { options: Options }) => void;
(target: { application: Application } | { options: Options }, key: PropertyKey) => void;

export function BindOption(name: string) {
return function(target: { application: Application } | { options: Options }, key: PropertyKey) {
Expand Down

0 comments on commit 33be747

Please sign in to comment.