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

APM TypeScript improvements #68572

Merged
merged 1 commit into from
Jun 8, 2020
Merged

APM TypeScript improvements #68572

merged 1 commit into from
Jun 8, 2020

Conversation

smith
Copy link
Contributor

@smith smith commented Jun 8, 2020

  • Add compilerOptions.noErrorTrunctation to the tsconfig template
  • Remove unused parameters

Not adding noUnusedParamaters to the tsconfig since we get too many hits from dependencies when running tsc. These do show up in the editor as warnings, though.

* Add `compilerOptions.noErrorTrunctation` to the tsconfig template
* Remove unused parameters

Not adding `noUnusedParamaters` to the tsconfig since we get too many hits from dependencies when running `tsc`. These do show up in the editor as warnings, though.
@smith smith requested a review from a team as a code owner June 8, 2020 21:03
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Jun 8, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@smith smith added v7.9.0 release_note:skip Skip the PR/issue when compiling release notes labels Jun 8, 2020
Copy link
Member

@dgieselaar dgieselaar left a comment

Choose a reason for hiding this comment

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

thanks @smith! finally we can fully experience TS errors.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@smith smith merged commit d1ed207 into elastic:master Jun 8, 2020
@smith smith deleted the nls/ts-more branch June 8, 2020 22:56
smith added a commit to smith/kibana that referenced this pull request Jun 8, 2020
* Add `compilerOptions.noErrorTrunctation` to the tsconfig template
* Remove unused parameters

Not adding `noUnusedParamaters` to the tsconfig since we get too many hits from dependencies when running `tsc`. These do show up in the editor as warnings, though.
smith added a commit that referenced this pull request Jun 9, 2020
* Add `compilerOptions.noErrorTrunctation` to the tsconfig template
* Remove unused parameters

Not adding `noUnusedParamaters` to the tsconfig since we get too many hits from dependencies when running `tsc`. These do show up in the editor as warnings, though.
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 Team:APM All issues that need APM UI Team support v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants