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

Add typescript ignore comment #20

Open
ohardy opened this issue Dec 16, 2020 · 2 comments
Open

Add typescript ignore comment #20

ohardy opened this issue Dec 16, 2020 · 2 comments
Labels
kind/enhancement Improvements or new features

Comments

@ohardy
Copy link

ohardy commented Dec 16, 2020

I have lot of errors like that:

error TS6133: 'pulumi' is declared but its value is never read.
error TS6133: 'ObjectMeta' is declared but its value is never read.

on generated files. For fast workaround, I propose to add a line // @ts-nocheck at the beginning of typescripts files generated by crd2pulumi.

@Kamaradeivanov
Copy link

Same issue for me :D

@infin8x infin8x added kind/enhancement Improvements or new features and removed enhancement labels Jul 10, 2021
@chanakya-svt
Copy link

I am facing the same issue and adding noUnsuedLocals: false is not an option. Are there any workarounds except the // @ts-nocheck option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

5 participants