diff --git a/packages/core/event-handler.js b/packages/core/event-handler.js index 9e3bf95..7b84ca3 100644 --- a/packages/core/event-handler.js +++ b/packages/core/event-handler.js @@ -85,7 +85,7 @@ function getPath(filename) { /** * Returns transformed HTML with custom elements registry in the head * @param {string} html - * @param {'js'} type + * @param {Config['components']} type * @param {Storage} storage * @returns {Promise} */ @@ -126,7 +126,7 @@ async function insertRegistry(html, type, storage) { /** * Builds the string containing all custom elements definition * @param {Array} usedCustomElements - * @param {"js" | "ts"} type + * @param {Config['components']} type * @param {Storage} storage * @returns {Promise} */