Skip to content

docs: document promise unwrapping#39719

Open
AndyOGo wants to merge 1 commit intomicrosoft:mainfrom
AndyOGo:docs/promise-unwrapping-39027
Open

docs: document promise unwrapping#39719
AndyOGo wants to merge 1 commit intomicrosoft:mainfrom
AndyOGo:docs/promise-unwrapping-39027

Conversation

@AndyOGo
Copy link

@AndyOGo AndyOGo commented Mar 17, 2026

fixes #39027

Inspired by similar Jest's modifiers .resolves/.rejects.

@AndyOGo
Copy link
Author

AndyOGo commented Mar 17, 2026

@microsoft-github-policy-service agree

@AndyOGo AndyOGo force-pushed the docs/promise-unwrapping-39027 branch from e76b076 to aea34ad Compare March 17, 2026 18:07
@AndyOGo AndyOGo requested a review from pavelfeldman March 17, 2026 18:10
@AndyOGo AndyOGo force-pushed the docs/promise-unwrapping-39027 branch from aea34ad to abaa285 Compare March 18, 2026 18:22
@AndyOGo AndyOGo force-pushed the docs/promise-unwrapping-39027 branch from abaa285 to 3a6c58a Compare March 18, 2026 18:24
Copy link
Member

@yury-s yury-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good, but lint is not happy. You need to update type overrides in utils/generate_types/overrides-test.d.ts.

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.

[Docs]: Promise unwrapping not documented (with .resolves/.rejects)

3 participants