IssueRaiser

Support a @nonnull/@nonnullable JSDoc assertion comment

This could be used in place of the non-null assertion operator, and solve #23403. ```js while (queue.length) { (/** @nonnull */ queue.pop())(); } ``` Related is #23217, which tracks definite assignment assertions.

Posted by DanielRosenwasser on Apr 13, 2018, 11:38 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

support (Other)

Support a @nonnull/@nonnullable JSDoc assertion comment

DanielRosenwasserApr 13, 2018, 11:38 PM

This could be used in place of the non-null assertion operator, and solve #23403. ```js while (queue.length) { (/** @nonnull */ queue.pop())(); } ``` Related is #23217, which tracks definite assignment assertions.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue