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

Upgrade to TypeScript 3 #22792

Merged
merged 3 commits into from
Sep 11, 2018
Merged

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Sep 7, 2018

This updates TypeScript to version 3.0.3, from 2.9.2. The features in 3.0 are described here, but I don't see any mention of breaking changes. The only things that really needed tweaking were TSLint related:

  • no-unused-vars rule is more aggressively deprecated, printing warnings when used, so I've updated the tsconfig.json and tslint.yaml files to move the check to the tsc. This means that unused variables will not be caught by the pre-commit hook but will still be noticed in IDEs and on CI.
  • no-console seems to complain about simply referencing console.log now
  • radix complains when using Number.parseInt(), not just window.parseInt()

@spalger spalger added the WIP Work in progress label Sep 7, 2018
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the upgrade/typescript-3 branch from 9ee3f45 to 33212af Compare September 8, 2018 02:40
@spalger spalger force-pushed the upgrade/typescript-3 branch from 90b506f to 56262f7 Compare September 8, 2018 03:36
@elasticmachine

This comment has been minimized.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger added review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.0.0 v6.5.0 and removed WIP Work in progress labels Sep 8, 2018
@spalger spalger requested a review from azasypkin September 8, 2018 05:24
@azasypkin azasypkin merged commit 6ded193 into elastic:master Sep 11, 2018
@azasypkin
Copy link
Member

Oops, I've accidentally merged PR instead of approving 🤦‍♂️

Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

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

LGTM (just for the records)

spalger pushed a commit to spalger/kibana that referenced this pull request Sep 11, 2018
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

spalger pushed a commit that referenced this pull request Sep 11, 2018
@spalger spalger deleted the upgrade/typescript-3 branch August 18, 2020 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v6.5.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants