Skip to content

Commit

Permalink
Fix missing code block end in useTransition's jsdoc comment (#2301)
Browse files Browse the repository at this point in the history
* Fix missing code block end in doc comment

* Add change file
  • Loading branch information
Legend-Master authored Sep 23, 2024
1 parent 94929af commit 73c0092
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/use-transition-doc-comment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"solid-js": patch
---

Fix missing code block end in `useTransition`'s jsdoc comment
1 change: 1 addition & 0 deletions packages/solid/src/reactive/signal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,7 @@ export type Transition = [Accessor<boolean>, (fn: () => void) => Promise<void>];
* () => boolean,
* (fn: () => void, cb?: () => void) => void
* ];
* ```
* @returns a tuple; first value is an accessor if the transition is pending and a callback to start the transition
*
* @description https://docs.solidjs.com/reference/reactive-utilities/use-transition
Expand Down

0 comments on commit 73c0092

Please sign in to comment.