Skip to content

Conversation

stepjue
Copy link

@stepjue stepjue commented Jan 6, 2021

May or may not be helpful depending on other people's environments, but I found myself adding this JSDoc comment in each new project so that I get autocomplete of the "context" parameter in VSCode
Screen Shot 2021-01-05 at 11 11 52 PM

add JSDoc comment that defines the type of "context" so that IDEs and text editors (e.g. VSCode) can autocomplete the members/methods of the context parameter
@stepjue stepjue marked this pull request as ready for review January 6, 2021 04:13
@mattdesl
Copy link
Owner

Cool tip! I think it's a bit too VSCode specific to add to the core but I'll consider it. It would be great if I could somehow document all of this in the core lib itself (maybe with TS typings) so that it's transparent to end-user.

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