diff --git a/.changeset/use-transition-doc-comment.md b/.changeset/use-transition-doc-comment.md new file mode 100644 index 000000000..a632b5692 --- /dev/null +++ b/.changeset/use-transition-doc-comment.md @@ -0,0 +1,5 @@ +--- +"solid-js": patch +--- + +Fix missing code block end in `useTransition`'s jsdoc comment diff --git a/packages/solid/src/reactive/signal.ts b/packages/solid/src/reactive/signal.ts index 7246fefb4..90d563d64 100644 --- a/packages/solid/src/reactive/signal.ts +++ b/packages/solid/src/reactive/signal.ts @@ -1087,6 +1087,7 @@ export type Transition = [Accessor, (fn: () => void) => Promise]; * () => 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