diff --git a/lib/components/baker-embed.js b/lib/components/baker-embed.js index da25c03f..d2b034b4 100644 --- a/lib/components/baker-embed.js +++ b/lib/components/baker-embed.js @@ -33,6 +33,7 @@ function addWebComponentsLoader() { /** * Appends the baker custom element script to the body + * * @param {string} filepath */ function addBakerElementScript(filepath) { @@ -66,6 +67,7 @@ window.baker = window.baker || {}; /** * Renders the baker component + * * @param {string} webComponentPath * @param {string} param * @returns {void} diff --git a/lib/components/web-component.js b/lib/components/web-component.js index 40e447bc..6a63bc79 100644 --- a/lib/components/web-component.js +++ b/lib/components/web-component.js @@ -93,6 +93,7 @@ class BakerWebComponent extends HTMLElement { /** * Parse the base URL from the baker-embed.js script + * * @returns {string} */ static getBaseURL() { diff --git a/lib/engines/rollup.js b/lib/engines/rollup.js index 3d657e6a..1dd1ee71 100644 --- a/lib/engines/rollup.js +++ b/lib/engines/rollup.js @@ -396,6 +396,9 @@ export class RollupEngine extends BaseEngine { /** * Bundles embed files for the Baker element + * + * @param {string} output + * @returns {Promise} */ async buildEmbed(output) { // baker-embed.js diff --git a/lib/rollup-plugins/manifest-plugin.js b/lib/rollup-plugins/manifest-plugin.js index 9881017a..156198ef 100644 --- a/lib/rollup-plugins/manifest-plugin.js +++ b/lib/rollup-plugins/manifest-plugin.js @@ -3,7 +3,6 @@ import fs from 'fs'; /** * @typedef {import('rollup').Plugin} RollupPlugin * - * * @returns {{generateBundle(*, *): void, name: string}} */ export function manifestPlugin() {