Skip to content

[7.x] Use ts-expect-error in platform code (#69883)#70287

Merged
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-69883
Jun 30, 2020
Merged

[7.x] Use ts-expect-error in platform code (#69883)#70287
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-69883

Conversation

@mshustov
Copy link
Contributor

Backports the following commits to 7.x:

* ts-ignore --> ts-expect-error

* fix error with mutable array

* fix errors in consumers code

* update SOM

* fix FeatureConfig & Feature compatibility

* do not re-export from code. it breaks built version

* update docs

* add eslint rule for platform team code

* remove test. this is covered by ts-expect-error in unit tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	src/core/utils/integration_tests/__fixtures__/frozen_object_mutation/tsconfig.json
@mshustov mshustov added the backport This PR is a backport of another PR label Jun 30, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

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

@mshustov mshustov merged commit 03e7216 into elastic:7.x Jun 30, 2020
@mshustov mshustov deleted the backport/7.x/pr-69883 branch June 30, 2020 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants