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

fully upgrade to TypeScript 4.x #178

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

cardoe
Copy link

@cardoe cardoe commented Nov 2, 2021

The project pulled in TypeScript 4.x but used other dependencies that were not compatible with TypeScript 4.x which resulted in failures out of the box that provided no context as to what was going wrong.

Re-order the dependencies since all the npm tools keep re-ordering them
and adjusting the whitespace.
Bumped react-scripts to 4.0.3 as well as any associated dependencies to
have full TypeScript 4.x support. fixes Buuntu#177
TypeScript 4.x compile process complains about missing dependencies so
add them in.
@cardoe
Copy link
Author

cardoe commented Nov 2, 2021

includes the fix for #171 as well

This failed to compile due to a mis-match of types with TypeScript 4.x.
fixes Buuntu#168.
Fix the lint 'import/prefer-default-export'
Fix the lint 'react/jsx-boolean-value'
Fix the lint 'no-shadow'.
@Buuntu
Copy link
Owner

Buuntu commented Nov 3, 2021

Can we take out the extra changes and dependencies and just stick to the Typescript upgrade? I will approve with just that, I'd rather not add extra dependencies to the base project though.

@cardoe
Copy link
Author

cardoe commented Nov 3, 2021

Sure. The frontend won't compile without them.

@luq7
Copy link

luq7 commented Apr 9, 2022

@cardoe Is this PR supposed to fix this error?
image

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