-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Bump TypeScript to v3.9 #67666
Merged
Merged
Bump TypeScript to v3.9 #67666
Changes from 75 commits
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
a82dea3
add babel support for export type
mshustov 1209ac8
bump ts version to 3.9.3
mshustov ac2bc71
rebuild kbn-pm
mshustov d3cd8a8
bump typescript-eslint
mshustov 090b1b7
fix error in security plugin UI
mshustov 31ce720
check export as works
mshustov 652af9b
fix app migration type
mshustov 870eb81
use correct test subj attribute
mshustov e3e68f3
fix errors from the old PR
mshustov be07879
embeddable is already passed in props
mshustov 8cae218
explicitly define type of fetch
mshustov 675a225
add some types for viz
mshustov e168c62
fix fetch type p.2
mshustov 97323f9
add null to allow spreading without type errors due to override
mshustov 82ab3ef
add type guard to fix type error
mshustov 8394514
cast to any, since cannot assign unknown
mshustov 9f68529
add timestamp to known types
mshustov 72f2296
fix type error in fetch
mshustov e9ace30
fix type error. id is always defined in attibutes
mshustov dfa2574
declare a type
mshustov dd7f2c8
move ts-ignore to the lines with errors
mshustov f294214
declare tuple type explicitly
mshustov e84eb25
mute type error. cannot assign unknown
mshustov 3fe70e4
fix errors. id is always defined
mshustov a482090
fix error type
mshustov 09d5706
fix override errors. id is always defined
mshustov 4dd6549
fix error. extends any doesn't work anymore
mshustov 796d839
fix type error. type is always defined
mshustov 1889b6c
env doesn't always contain values
mshustov 991ddb3
fix type error
mshustov dc3ce73
cast to string
mshustov 96771a2
add: logs is already declared in getNodeLogsUrl
mshustov f63dba3
state is already passed in props
mshustov 9398916
fix some errors in timelion
mshustov c2a91ff
number of fragments is always defined
mshustov 8490984
'absolute' is not just string, but value
mshustov f77c5c3
TEMP: option is always defined
mshustov 9a99b84
always true if cast to promise manually
mshustov 4cdebff
both props are always defined
mshustov f17e3b9
explicitly define returned SO type
mshustov 96fac96
workaround type
mshustov 997e7fa
bump tslib to be compatible with ts v3.9
mshustov 8b2ecc8
test private property
mshustov a7bcdcf
rebuild kbn-pm
mshustov 626b710
Fix ts errors for beats management
nchaulet baa6209
Merge pull request #1 from nchaulet/ts-update-beats-cm
mshustov 20e8e47
Fix type inference broken by the TS 3.9 upgrade
weltenwort 315c7a0
Fix ingest manager saved object attributes typings
nchaulet ad99021
Fix TS errors in cross_cluster_replication and index_management.
cjcenizal efe7b08
Fix TS error in Watcher.
cjcenizal dea0122
Merge pull request #3 from nchaulet/fix-ingest-manager-ts-upgrade
mshustov 2b4a810
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov bc4ef14
roll back colorRange wrong type
mshustov c1d22c1
Merge branch 'master' into ts-update
mshustov fe04a00
Merge pull request #2 from weltenwort/logs-metrics-ui-update-to-ts-3-9
mshustov 8fd55b2
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov a75a205
fix security plugin types
legrego 3caa679
TypeScript 3.9 fixes for APM
smith ffe3338
Fix ColorRange types.
walterra 3c7e50b
fix actions & alerts errors. ByGidi
mshustov 5a790f7
Merge branch 'master' into ts-update
mshustov 7b39e4f
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov f8b8e99
fix lists error
mshustov 535afb3
More APM fixes
smith cf406fb
Merge branch 'ts-update' of https://github.com/restrry/kibana into ts…
smith beee8d2
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov 3d39cd5
fix platform type error
mshustov 7579678
Fix visualizations types.
lukeelmers fa094a6
Fix data plugin types.
lukeelmers 4113e83
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov 888b90b
Merge branch 'master' into ts-update
mshustov 7951f77
bump TS version to 3.9.5
mshustov 403205c
Fix telemetry TS errors
afharo 90cd6d5
Fix dashboard code
4a4bd7f
Adding Canvas Fixes for TS 3.9
clintandrewhall 6b920ab
Fix case and security_solution types
patrykkopycinski ff64040
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov 02516af
Merge branch 'master' into ts-update
mshustov 68c5c91
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov a72a9e3
roll back to the old export syntax. new one might cause problems in a…
mshustov 987b4a0
update docs
mshustov 368197f
Fix timelion code
aac2380
Fix meta
patrykkopycinski b0b4d83
Fix types
patrykkopycinski e2d6e7d
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov f25e739
Merge branch 'master' into ts-update
mshustov b49dad5
fix type errors om ingest_manager
mshustov fdb016c
bump babel deps
mshustov 3256c88
enable private props & methods syntax
mshustov 4ff4b54
update kbn-pm dist
mshustov 16a8300
whitelist 0BSD license
mshustov e98c40a
use @babel/plugin-proposal-private-methods in default set as well
mshustov 04d9594
disable new babel plugins
mshustov 64f08da
Revert "disable new babel plugins"
mshustov 4218caf
cleanup security_solution types
patrykkopycinski e45065c
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov 87a2846
Merge branch 'master' into ts-update
mshustov babcc16
Merge branch 'master' into ts-update
mshustov 37e3263
Fixes type error for newer TypeScript
FrankHassanabad cf62228
Merge pull request #4 from FrankHassanabad/fix-for-type
mshustov a887ff0
Merge branch 'master' into ts-update
elasticmachine 4baf675
Merge remote-tracking branch 'origin/ts-update' into ts-update
mshustov d26ff2c
update docs
mshustov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,6 @@ export const globals = (specService: SpecDefinitionsService) => { | |
fields: { | ||
'{field}': { | ||
fragment_size: 20, | ||
number_of_fragments: 3, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jloleysens Do you know if it's safe to remove this? |
||
...highlightOptions, | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,12 +68,7 @@ export const withEmbeddableSubscription = < | |
|
||
render() { | ||
return ( | ||
<WrappedComponent | ||
input={this.state.input} | ||
output={this.state.output} | ||
embeddable={this.props.embeddable} | ||
{...this.props} | ||
/> | ||
<WrappedComponent input={this.state.input} output={this.state.output} {...this.props} /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. embeddable is defined in |
||
); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This syntax (and private member properties) seems like it might break api-extractor, or at least it's an untested syntax: microsoft/rushstack#1866 (comment)
Maybe we should hold off on making these changes until after this PR is merged to be sure we don't break compatibility with api-extractor (unless this was the only way to resolve a type error?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did the changes to test eslint parser update, we can roll them back.