@BindOption: Unable to resolve signature of property decorator when called as an expression. #1174
Closed
1 task done
Labels
bug
Functionality does not match expectation
Unable to use
@BindOption
for custom option namesExpected Behavior
Should be able to use
@BindOption
to bind custom options to class member.Actual Behavior
Unable to use
@BindOption
with custom option name.This results in a TypeScript compilation error:
It works with where the parameter is
keyof TypeDocOptionMap
.Steps to reproduce the bug
Sample code that will should result in the error
Environment
The text was updated successfully, but these errors were encountered: