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

Prepare TypeScript in data/visualizations plugin for 3.7 #47678

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Oct 9, 2019

Summary

This PR fixes a couple of issues in TypeScript, that will fail once we want to upgrade to 3.7.0 (#47188). TypeScript has fixed an issue where they allowed to have some imported type and exported type the same name, why those places would fail in TypeScript 3.7.0 (tested on my side).

The other place also throws an issue in TS 3.7.0 when compiling the Kibana types, if we don't specify the return type explicitly, so I added that too.

For QA

This PR doesn't contain any functional change.

@timroes timroes added v8.0.0 Team:AppArch release_note:skip Skip the PR/issue when compiling release notes v7.5.0 labels Oct 9, 2019
@timroes timroes requested a review from a team October 9, 2019 11:20
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@timroes timroes mentioned this pull request Oct 9, 2019
15 tasks
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@streamich streamich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@timroes timroes merged commit 01e8ca9 into elastic:master Oct 9, 2019
@timroes timroes deleted the ts-cleanup-app-arch branch October 9, 2019 13:24
timroes pushed a commit to timroes/kibana that referenced this pull request Oct 9, 2019
timroes pushed a commit that referenced this pull request Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.5.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants