From 73c009274a5d13cdad75ef495f861939ec2c8e6f Mon Sep 17 00:00:00 2001 From: Tony <68118705+Legend-Master@users.noreply.github.com> Date: Tue, 24 Sep 2024 02:04:42 +0800 Subject: [PATCH] Fix missing code block end in `useTransition`'s jsdoc comment (#2301) * Fix missing code block end in doc comment * Add change file --- .changeset/use-transition-doc-comment.md | 5 +++++ packages/solid/src/reactive/signal.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/use-transition-doc-comment.md 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 8018b2b82..b4f3deba9 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