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

Ts types fix #3315

Merged
merged 4 commits into from
Aug 30, 2021
Merged

Ts types fix #3315

merged 4 commits into from
Aug 30, 2021

Conversation

antgamdia
Copy link
Contributor

Description of the change

As #3313 bumps the ts version up, it defaults the errors in catch statements to unkown instead of any. This PR is to explicitly use any.
However, I've removed a bunch of unused fields also noted by the typescript checker.
Besides, I've migrated the tsconfig file to the one that is autogenerated, as it includes some inline comments, useful to quickly know what's doing each option.

Benefits

No ts errors that are preventing us from merging #3313

Possible drawbacks

N/A

Applicable issues

N/A

Additional information

N/A

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@antgamdia antgamdia merged commit 6dab204 into vmware-tanzu:master Aug 30, 2021
@antgamdia antgamdia deleted the tsTypesFix branch August 30, 2021 06:55
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.

2 participants