From a4981b942cb7dffd36906a9b02734e897cdea4f2 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 19 May 2025 14:52:44 -0400 Subject: [PATCH] add since --- packages/svelte/src/attachments/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/svelte/src/attachments/index.js b/packages/svelte/src/attachments/index.js index 0bb16cc514..bfd5525850 100644 --- a/packages/svelte/src/attachments/index.js +++ b/packages/svelte/src/attachments/index.js @@ -34,6 +34,7 @@ export function createAttachmentKey() { * Converts an Action into an Attachment keeping the same behavior. It's useful if you want to start using * attachments on Components but you have library provided actions. * @type {FromAction} + * @since 5.32 */ export function fromAction(action, /** @type {() => any} */ get_arg = noop) { return (element) => {