We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fed5ca + 8d7c732 commit a90d7eaCopy full SHA for a90d7ea
blocks/fragment/fragment.js
@@ -15,7 +15,7 @@ import {
15
/**
16
* Loads a fragment.
17
* @param {string} path The path to the fragment
18
- * @returns {HTMLElement} The root element of the fragment
+ * @returns {Promise<HTMLElement>} The root element of the fragment
19
*/
20
export async function loadFragment(path) {
21
if (path && path.startsWith('/')) {
0 commit comments