-
-
Notifications
You must be signed in to change notification settings - Fork 745
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels