Open
Description
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
Environment:
"componentsjs": "5.0.0-beta.4",
"componentsjs-generator": "3.0.0-beta.7",