issues Search Results · repo:KnisterPeter/react-to-typescript-definitions language:TypeScript
Filter by
43 results
(77 ms)43 results
inKnisterPeter/react-to-typescript-definitions (press backspace or delete to remove)Hi,
the generator throws an error when it tries to catch an expected error on resolving a prop-type. The error occurs in
function printErrorWithContext:
TypeError: Cannot read properties of undefined ...
Atanamo
- Opened on Sep 15, 2023
- #1563
Hi guys,
I have noticed that the library is returning any for a property when propTypes are imported from some other component.
Here is an example:
// ComponentOne.jsx
ComponentOne.propTypes = {
myProp: ...
enhancement
help wanted
wontfix
ratep1
- 2
- Opened on Jun 14, 2022
- #1418
Hey can this be handled, would be awesome! Version using: 2.0.0, also reproduced on 3.0.1
Console output
/home/damend/IdeaProjects/react-ui/src/components/typography/severity-blocks/severity-text/severity-text.jsx ...
question
wontfix
raDiesle
- 2
- Opened on May 3, 2021
- #1149
npm audit reports dependency issue
The package has a fixed version dependency of astq : 2.3.6, which in chain has dependency to an outdated version of
lodash.
help wanted
todo 🗒️
wontfix
itutto
- 2
- Opened on Apr 29, 2021
- #1147
Hey
we have a few components that are wrapped into injectIntl at export statement
function SomeComponent() { .. }
export default injectIntl(SomeComponent);
and library fails to generate types for them, ...
dozortsev
- 1
- Opened on Apr 7, 2021
- #1133
Hey
it seems that library doesn t pick name of prop if the prop is defined as string literal inside .shape
example:
SomeComponent.propTypes = {
action: PropTypes.shape({
aria-label : PropTypes.string, ...
bug
enhancement
help wanted
dozortsev
- 2
- Opened on Apr 6, 2021
- #1131
Hey
we have components that expose some props following way:
Component type={Component.Type.FOO} /
^^^^
this is done in following way:
// in Component.js file
const Component ...
enhancement
help wanted
dozortsev
- 1
- Opened on Mar 29, 2021
- #1129
Hey
I try to use this great library for my library of components and in some of them we use optional chaining feature and
react-to-typescript-definitions fails to generate types for them.
I checked code ...
dozortsev
- 2
- Opened on Mar 22, 2021
- #1123
Not sure if this is a bug or intended behavior but wanted to call out
type: oneOf([PRIMARY, SECONDARY]), creates: type?: any | any;
vs
type: oneOf([ PRIMARY , SECONDARY ]), create: type?: PRIMARY | ...
enhancement
help wanted
wontfix
montoya332
- 2
- Opened on Feb 24, 2021
- #1111
I m trying to process a file that looks like this:
export { ApplyTheme } from ./ApplyTheme
export { ThemeablePropValues } from ./ThemeablePropValues
export { applyCustomMediaToCss } from ./applyCustomMediaToCss ...
enhancement
help wanted
wontfix
matyasf
- 2
- Opened on Dec 14, 2020
- #1072

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 IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
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 IssuesProTip!
Restrict your search to the title by using the in:title qualifier.