From 8d7c73202292ff67183aa52cca1154f9bb25c0f5 Mon Sep 17 00:00:00 2001 From: Sean Steimer Date: Mon, 29 Apr 2024 08:45:50 -0700 Subject: [PATCH] fix: js doc comment with correct return type --- blocks/fragment/fragment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/fragment/fragment.js b/blocks/fragment/fragment.js index 648a70e1..89738a21 100644 --- a/blocks/fragment/fragment.js +++ b/blocks/fragment/fragment.js @@ -15,7 +15,7 @@ import { /** * Loads a fragment. * @param {string} path The path to the fragment - * @returns {HTMLElement} The root element of the fragment + * @returns {Promise} The root element of the fragment */ export async function loadFragment(path) { if (path && path.startsWith('/')) {