We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The generated typescript code would not compile because of a missing import. Here is a simplification of my conjure:
Foo: fields: myField: Bar Bar: alias: map<string, Baz> Baz: union: str: string date: datetime
The generated code for Foo.ts did not import IBaz even though it referenced it. It looked something like:
Foo.ts
IBaz
export interface IFoo { myField: { [key: string]: IBaz }; }
Valid typescript to be generated, like:
import { IBaz } from "./Baz"; export interface IFoo { myField: { [key: string]: IBaz }; }
The text was updated successfully, but these errors were encountered:
I'm improving our testing story with #90 then I'll follow up with a fix
Sorry, something went wrong.
@rherms I've attempted to repro your issue, but I've been unable to. You can look at a my branch.
What version of conjure-typescript are you using? Can you point me in the direction of where you're seeing this issue?
No branches or pull requests
What happened?
The generated typescript code would not compile because of a missing import. Here is a simplification of my conjure:
The generated code for
Foo.ts
did not importIBaz
even though it referenced it. It looked something like:What did you want to happen?
Valid typescript to be generated, like:
The text was updated successfully, but these errors were encountered: