Skip to content

Remove return from example addAction - #2772

Merged
Alexandru Dima (alexdima) merged 1 commit into
microsoft:mainfrom
MasterOdin:patch-1
Nov 16, 2021
Merged

Alexandru Dima (alexdima) merged 1 commit into
microsoft:mainfrom
MasterOdin:patch-1

Conversation

@MasterOdin

Copy link
Copy Markdown
Contributor

Documentation for editor.AddAction gives a return type of void | Promise<void>. Having the example return null is confusing given it doesn't really matter what it returns.

Signed-off-by: Matthew Peveler <matt@popsql.com>
@alexdima

Copy link
Copy Markdown
Member

Thank you!

@alexdima
Alexandru Dima (alexdima) merged commit 6535feb into microsoft:main Nov 16, 2021
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants