-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow to suppress import in typedef JSDoc parse error. #3323
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
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Created internal issue http://b/130218393 |
I believe this PR is intended as a step toward resolving #3041 |
@zavr-1 you'll need to accept the CLA before we can go any further here. |
@googlebot @brad4d I signed it! |
@zavr-1 maybe you should try to sign the CLA again, since the check for that is still failing? |
@zavr-1 or maybe just double-check the instructions for CLA signing. Looks like there are a few things that could be out of whack (email address mismatch, etc.) |
@brad4d hi i've signed it yesterday but it got voided as I'd signed with wrong title, today I've changed the title to the correct one so I suppose just waiting for it to be checked again. |
@zavr-1 I took a look at a view of the CLA state I get as a Googler for this PR. It's the first time I've ever needed to do that, so I'm not really familiar with it. Basically it seems to say that @zavr-1 is the PR sender, but with no known email address. FTR, I the UI also had a "Force Rescan" button, which I clicked, but resulted in no change of state. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
@brad4d ok just as I commented the bot got it (thanks @googlebot green is 💚 beautiful)! Thanks for looking into it btw. Also this is why I need this PR https://github.com/artdecocode/typal/ (cmd-f to |
PR imported and sent for testing. |
minimal testing was successful
I haven't bothered to push that back to the PR branch, though. |
I'm submitting the internal change today. @zavr-1 |
@brad4d thanks for you time into working this pr through. Also I've had successfully suppressed these errors in many packages now so not sure what you say is correct, sorry. I've been testing this feature on the custom build quite extensively. /**
* @suppress {nonStandardJsDocs}
* @typedef {import('test').Test} test.Test
*/ I'll be looking into making the necessary changes to actually enable the |
This is to allow writing stuff like because everyone is using
import
since VSCode has enabled it. It'd be great to have this in Closure as well otherwise types have to be imported via externs and that stops advanced mangling.