Skip to content
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

npm run build:prod currently fails #293

Closed
apriendeau opened this issue Jul 7, 2017 · 2 comments
Closed

npm run build:prod currently fails #293

apriendeau opened this issue Jul 7, 2017 · 2 comments

Comments

@apriendeau
Copy link

I just set up and I may have made a mistake but when following the developer commands at the bottom of the README and then running npm run build:prod, this is the output.

Error at /Users/austin/Projects/ReDoc/lib/services/search.service.ts:195:24: Argument of type 'Schema | Schema[]' is not assignable to parameter of type 'SwaggerSchema'.
  Type 'Schema[]' has no properties in common with type 'SwaggerSchema'.
Error at /Users/austin/Projects/ReDoc/tests/helpers.ts:24:49: Type 'true' has no properties in common with type 'MouseEventInit'.
@wilsonge
Copy link
Contributor

Looks like this is related to the release of typescript 2.4. If I downgrade back to 2.3.2 this error goes away.

@wilsonge
Copy link
Contributor

This should be fixed by #305

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.

3 participants