Skip to content

Tons of resolution errors #146

New issue

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

Closed
mattoni opened this issue Oct 1, 2017 · 1 comment · Fixed by #147
Closed

Tons of resolution errors #146

mattoni opened this issue Oct 1, 2017 · 1 comment · Fixed by #147

Comments

@mattoni
Copy link

mattoni commented Oct 1, 2017

Hi,

I'm specifying a file and an interface for which to render the schema, but no matter what file I run it on, it generates a ton of errors:
image
image

Running with --ignore-errors works, but one thing I noticed is an extended interface is missing the properties of the base interface in the outputted schema, probably due to the resolution errors.

I have no issue compiling with typescript, and I set the same options in the settings:

const compilerOptions: CompilerOptions = {
    strictNullChecks: true,
    "module": 1,
    "strict": true,
    "target": 4,
    "experimentalDecorators": true,
    "jsx": 2,
    "moduleResolution": 2,
}

TS version is 2.5.2, any help appreciated :)

@domoritz
Copy link
Collaborator

domoritz commented Oct 5, 2017

I believe that's because we are not supporting ts 2.5 yet. #147 will add support for ts 2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants