Skip to content

Upgrade to TypeScript 3#22792

Merged
azasypkin merged 3 commits intoelastic:masterfrom
spalger:upgrade/typescript-3
Sep 11, 2018
Merged

Upgrade to TypeScript 3#22792
azasypkin merged 3 commits intoelastic:masterfrom
spalger:upgrade/typescript-3

Conversation

@spalger
Copy link
Copy Markdown
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
Copy Markdown
Contributor

💚 Build Succeeded

@spalger spalger added review Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// 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
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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 Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// v6.5.0 v7.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants