-
Notifications
You must be signed in to change notification settings - Fork 816
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
Adds the private TS annotation to _methods() #2120
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, good catch. I don't think I did this in any package, so we'll probably have to do another PR to address it.
I'm also planning to add linting soon, so that may help as well.
Want me to push more changes to this PR that cleans up other instances? |
If you want, but it'll like be a ton of files, so if you want to do it in a separate PR, that's fine too. |
I did a quick search for the general pattern and found a few more obvious ones. We can include them in this PR, and then if I missed any, feel free to pick them up later. |
PR-Bot Size PluginChanged File Sizes
New FilesNo new files have been added. All File SizesView Table
Workbox Aggregate Size Plugin3.49KB gzip'ed (23% of limit) |
R: @philipwalton
When testing out the TypeScript functionality, I noticed that there were a bunch of methods on
workbox-window
that started with_
and were@private
in JSDoc, but weren't markedprivate
in TypeScript.I wonder if this is something we could catch via linting or some sort of post-TypeScript-compilation test?