Skip to content

Beats management: Remove obsolete type overrides#37624

Merged
flash1293 merged 1 commit intoelastic:masterfrom
flash1293:improve/typings
Jun 3, 2019
Merged

Beats management: Remove obsolete type overrides#37624
flash1293 merged 1 commit intoelastic:masterfrom
flash1293:improve/typings

Conversation

@flash1293
Copy link
Copy Markdown
Contributor

In x-pack/plugins/beats_management/types/kibana.d.ts types for some JS only OSS dependencies were provided. In the meantime, these things are completely typed within the OSS code base itself (src/legacy/ui/public/autocomplete_providers/index.d.ts) and have diverged slightly.

This PR removes the overrides which causes the compiler to transparently use the upstream typings.

Context: I got aware of this because the differences in typings cause an error if OSS types are relatively imported from within x-pack plugins.

@flash1293 flash1293 added Team:Beats non-issue Indicates to automation that a pull request should not appear in the release notes labels May 31, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/beats

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@flash1293 flash1293 merged commit 5be698f into elastic:master Jun 3, 2019
@flash1293 flash1293 deleted the improve/typings branch June 3, 2019 11:48
@stacey-gammon
Copy link
Copy Markdown

Intentional this isn't going to be backported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-issue Indicates to automation that a pull request should not appear in the release notes Team:Beats v7.3.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants