feat: reuse Config.components types on jsdoc
This commit is contained in:
parent
9e26b4015f
commit
dfee34b7eb
1 changed files with 2 additions and 2 deletions
|
@ -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<string>}
|
||||
*/
|
||||
|
@ -126,7 +126,7 @@ async function insertRegistry(html, type, storage) {
|
|||
/**
|
||||
* Builds the string containing all custom elements definition
|
||||
* @param {Array<string>} usedCustomElements
|
||||
* @param {"js" | "ts"} type
|
||||
* @param {Config['components']} type
|
||||
* @param {Storage} storage
|
||||
* @returns {Promise<string>}
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue