Skip to content

Commit a90d7ea

Browse files
authored
Merge pull request #61 from adobe/fix-fragment-doc
fix: js doc comment with correct return type
2 parents 9fed5ca + 8d7c732 commit a90d7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blocks/fragment/fragment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
/**
1616
* Loads a fragment.
1717
* @param {string} path The path to the fragment
18-
* @returns {HTMLElement} The root element of the fragment
18+
* @returns {Promise<HTMLElement>} The root element of the fragment
1919
*/
2020
export async function loadFragment(path) {
2121
if (path && path.startsWith('/')) {

0 commit comments

Comments
 (0)