Problem description
When running the generator on parameters that implement an interface like below, we noticed that the generator produces errors like error: Unsupported field type TSMethodSignature in Handler. In the --lenient mode this does allow us to generate .jsonld files, but they miss all of the parameters deriving from the interface.
import type { Observable } from 'rxjs';
export interface Handler<T = void, S = void> {
handle(input: T): Observable<S>;
}
Example code
HandlersJS - Handler.ts
Environment:
"componentsjs": "5.0.0-beta.4",
"componentsjs-generator": "3.0.0-beta.7",
Problem description
When running the generator on parameters that implement an interface like below, we noticed that the generator produces errors like
error: Unsupported field type TSMethodSignature in Handler. In the--lenientmode this does allow us to generate.jsonldfiles, but they miss all of the parameters deriving from the interface.Example code
HandlersJS - Handler.ts
Environment: