Skip to content

Add JSDoc for @cached for the built-in types#20543

Merged
mixonic merged 4 commits intoemberjs:mainfrom
NullVoxPopuli:add-jsdoc-for-cached
Sep 8, 2023
Merged

Add JSDoc for @cached for the built-in types#20543
mixonic merged 4 commits intoemberjs:mainfrom
NullVoxPopuli:add-jsdoc-for-cached

Conversation

@NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented Sep 8, 2023

Context: emberjs/rfcs#914 (comment)

The docs we have for @cached already or just for the docs.
This PR adds JSDoc for @cached that'll show up in folks' editors.

Demo here: https://github.com/NullVoxPopuli/cached-status-2023-09-08/blob/main/app/app.ts#L14
(provided local linking is done)

image

@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review September 8, 2023 18:48
NullVoxPopuli and others added 2 commits September 8, 2023 15:47
Co-authored-by: Matthew Beale <matt.beale@madhatted.com>
Copy link
Member

@mixonic mixonic left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks @NullVoxPopuli

@mixonic mixonic merged commit f64f5e1 into emberjs:main Sep 8, 2023
@NullVoxPopuli NullVoxPopuli deleted the add-jsdoc-for-cached branch September 8, 2023 20:28
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