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

fix(types): utility type removed from RN 0.71 #187

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

alpha0010
Copy link
Contributor

Overview

Updating to react native 0.71, TypeScript errors on this library. The utility type Constructor is private in latest typings. Using this export degrades to any type.

JSX element class does not support attributes because it does not have a 'props' property.

Test Plan

npx tsc runs clean after making this change on a RN 0.71 app.

@pavelbabenko
Copy link

Can anyone review & merge it?

Copy link
Contributor

@Naturalclar Naturalclar left a comment

Choose a reason for hiding this comment

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

LGTM!

@Naturalclar Naturalclar merged commit 8b4b2f9 into react-native-masked-view:master Feb 23, 2023
jeanregisser added a commit to valora-inc/wallet that referenced this pull request May 24, 2023
… ^0.2.9 (#3794)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@react-native-masked-view/masked-view](https://togithub.com/react-native-masked-view/masked-view)
| [`^0.2.8` ->
`^0.2.9`](https://renovatebot.com/diffs/npm/@react-native-masked-view%2fmasked-view/0.2.8/0.2.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@react-native-masked-view%2fmasked-view/0.2.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@react-native-masked-view%2fmasked-view/0.2.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@react-native-masked-view%2fmasked-view/0.2.9/compatibility-slim/0.2.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@react-native-masked-view%2fmasked-view/0.2.9/confidence-slim/0.2.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>react-native-masked-view/masked-view</summary>

###
[`v0.2.9`](https://togithub.com/react-native-masked-view/masked-view/releases/tag/v0.2.9)

[Compare
Source](https://togithub.com/react-native-masked-view/masked-view/compare/v0.2.8...v0.2.9)

#### What's Changed

- docs(readme): overall improvements by
[@&#8203;LRNZ09](https://togithub.com/LRNZ09) in
[react-native-masked-view/masked-view#173
- feat(example): add multiple component examples app by
[@&#8203;LRNZ09](https://togithub.com/LRNZ09) in
[react-native-masked-view/masked-view#176
- Web stub
([#&#8203;70](https://togithub.com/react-native-masked-view/masked-view/issues/70))
by [@&#8203;hexadecy](https://togithub.com/hexadecy) in
[react-native-masked-view/masked-view#175
- Update node version used in CI by
[@&#8203;Naturalclar](https://togithub.com/Naturalclar) in
[react-native-masked-view/masked-view#177
- fix(types): utility type removed from RN 0.71 by
[@&#8203;alpha0010](https://togithub.com/alpha0010) in
[react-native-masked-view/masked-view#187

#### New Contributors

- [@&#8203;LRNZ09](https://togithub.com/LRNZ09) made their first
contribution in
[react-native-masked-view/masked-view#173
- [@&#8203;hexadecy](https://togithub.com/hexadecy) made their first
contribution in
[react-native-masked-view/masked-view#175
- [@&#8203;alpha0010](https://togithub.com/alpha0010) made their first
contribution in
[react-native-masked-view/masked-view#187

**Full Changelog**:
react-native-masked-view/masked-view@v0.2.8...v0.2.9

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jean Regisser <jean.regisser@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants