question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typescript update

See original GitHub issue

Here is a ticket to track the TS conversion process. please merge all PR’s and work into the branch typescript-work. Here is the current work completed and left to be done:

  • Accessory
  • Avatar
  • Badge
  • withBadge
  • BottomSheet
  • Button
  • ButtonGroup
  • Card
  • Card - Subcomponents
  • Checkbox
  • config
  • Divider
  • Header
  • helpers
  • Icon
  • Image
  • Input
  • ListItem
  • ListItem - Subcomponents
  • Overlay
  • Pricing
  • Searchbars
  • Slider
  • SocialIcon
  • Text
  • Tile
  • Tooltip
  • Autogen d.ts file

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MohammedFaragallahcommented, Mar 7, 2021

@flyingcircle thank you for the offer that won’t be necessary I like RNE a lot and happy to help any time

1reaction
flyingcirclecommented, Feb 15, 2021

@MohammedFaragallah yep, I agree. I’ve updated a few of them in a couple of the components such as Button: https://github.com/react-native-elements/react-native-elements/pull/2766/files#diff-a4a4eaf5f85ed40c14a570378492560d1ca2695473ec3cc49ae4e2e90cad68b0

Basically, I moved any of the styles that depended on arguments to the component itself and made the styles var into a proper StyleSheet. So, it requires moving things around, but I think it should hopefully behave the same as before.

Read more comments on GitHub >

github_iconTop Results From Across the Web

typescript - npm
TypeScript is a language for application scale JavaScript development. Latest version: 4.9.4, last published: 18 days ago.
Read more >
How to update TypeScript to latest version with npm?
Try npm install -g typescript@latest . You can also use npm update instead of install, without the latest modifier.
Read more >
How to set up TypeScript
Download TypeScript. TypeScript can be installed through three installation routes depending on how you intend to use it: an npm module, a NuGet...
Read more >
How To Install (Upgrade or Downgrade) a TypeScript Version?
How To Install (Upgrade or Downgrade) a TypeScript Version? ... To install TypeScript on your machine, use the following command if you use...
Read more >
How to Upgrade to TypeScript Without Anybody Noticing, Part 1
How can you upgrade with so little change? Well, the secret is that you're not using TypeScript. The TypeScript compiler can check Javascript ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found