Skip to content

issues Search Results · repo:milesj/babel-plugin-typescript-to-proptypes language:TypeScript

Filter by

36 results
 (60 ms)

36 results

inmilesj/babel-plugin-typescript-to-proptypes (press backspace or delete to remove)

I want some help on how to set this up with the `create-react-app --template typescript, I am not sure I am doing something wrong or it s some issue from the package itself
  • Sourav12061999
  • 1
  • Opened 
    on Feb 23, 2023
  • #66

Hello, with latest typescript compiler versions is not needed to import react. I detected that when not adding the import the plugin does not generate the types. It makes sense as checking the code we ...
  • carlesnunez
  • 4
  • Opened 
    on Oct 20, 2022
  • #64

Description Given a union like type C = A | B, where A and B are both interfaces, babel-plugin-typescript-to-prototype generates code requiring that C contain all values present in A and B, rather than ...
  • ianhoffman
  • 2
  • Opened 
    on Mar 18, 2022
  • #63

Hi there, I ve been trying to implement this in our app, and so far so good, but I noticed that the library doesn t support void function components. It s mostly a semantic/type difference. I saw the ...
  • marcohamersma
  • 1
  • Opened 
    on Feb 28, 2022
  • #62

Hi, I could not figure out how to use your plugin to add propTypes to my current Typescript React components. I followed your current description, but could not see propTypes usage in my built code. Could ...
  • kbarinova
  • 1
  • Opened 
    on Feb 4, 2022
  • #61

I m using this package to have a react js copy of my react typescript components. Is it possible to control the import name? currently its import _pt from prop-types ; I would like to have control ...
  • jamesmsk
  • 2
  • Opened 
    on Jan 18, 2022
  • #60

Hi, thanks for all your work on this - it s an awesome plugin! I m running into an issue where if I have a type import from react separate from the default import like so import React from react ; import ...
  • juzerzarif
  • 1
  • Opened 
    on Oct 21, 2021
  • #59

When I have a following prop type definition: type onChange = { (k: subject , v: string): void; (k: description , v: string): void; (k: canContact , v: boolean): void; (k: attachments ...
  • kubijo
  • 1
  • Opened 
    on Jul 14, 2021
  • #52

It looks like this plugin adds default React import, even if there are no propTypes should be added This is an issue with Rollup when declaring React as an external module I ve created a repl example ...
  • Andrei-Dimitrov
  • 1
  • Opened 
    on Jul 7, 2021
  • #51

Thanks for your work on this. I just have a question for which I didn t see an answer in the README or open/closed issues, apologies if I missed it. Would the following inline type definitions in the following ...
  • skipjack
  • 2
  • Opened 
    on Mar 8, 2021
  • #45
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub