I have an interface like this one:
export interface IDefect {
transform(value: any, args: string[]): any;
getDefaultFilter?(filter: string, args: string[]): any;
filters?: { [name: string]: IFilter };
}
In TypeDoc it comes up as follows:
Above, optional property filters is shown correctly, as optional, with ?, but for optional method getDefaultFilter symbol ? is missing.
It is only in details the method gets OPTIONAL label attached. But why ? is removed from methods in the interface, while preserved for properties? This is inconsistent, and looks like a bug.
Used TypeDoc version: 0.28.10
I have an interface like this one:
In TypeDoc it comes up as follows:
Above, optional property
filtersis shown correctly, as optional, with?, but for optional methodgetDefaultFiltersymbol?is missing.It is only in details the method gets OPTIONAL label attached. But why
?is removed from methods in the interface, while preserved for properties? This is inconsistent, and looks like a bug.Used TypeDoc version: 0.28.10