Skip to content

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

Merged
Naturalclar merged 1 commit intocallstack:masterfrom
alpha0010:patch-1
Feb 23, 2023
Merged

fix(types): utility type removed from RN 0.71#187
Naturalclar merged 1 commit intocallstack:masterfrom
alpha0010:patch-1

Conversation

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

Can anyone review & merge it?

Copy link
Copy Markdown
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 callstack:master Feb 23, 2023
jeanregisser referenced this pull request in valora-xyz/wallet 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
[https://github.com/react-native-masked-view/masked-view/pull/173](https://togithub.com/react-native-masked-view/masked-view/pull/173)
- feat(example): add multiple component examples app by
[@&#8203;LRNZ09](https://togithub.com/LRNZ09) in
[https://github.com/react-native-masked-view/masked-view/pull/176](https://togithub.com/react-native-masked-view/masked-view/pull/176)
- Web stub
([#&#8203;70](https://togithub.com/react-native-masked-view/masked-view/issues/70))
by [@&#8203;hexadecy](https://togithub.com/hexadecy) in
[https://github.com/react-native-masked-view/masked-view/pull/175](https://togithub.com/react-native-masked-view/masked-view/pull/175)
- Update node version used in CI by
[@&#8203;Naturalclar](https://togithub.com/Naturalclar) in
[https://github.com/react-native-masked-view/masked-view/pull/177](https://togithub.com/react-native-masked-view/masked-view/pull/177)
- fix(types): utility type removed from RN 0.71 by
[@&#8203;alpha0010](https://togithub.com/alpha0010) in
[https://github.com/react-native-masked-view/masked-view/pull/187](https://togithub.com/react-native-masked-view/masked-view/pull/187)

#### New Contributors

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

**Full Changelog**:
callstack/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.

3 participants