refactor(core): JSDoc for evaluate script

This commit is contained in:
Ayo Ayco 2025-06-28 09:31:06 +02:00
parent f50edfb441
commit 43acc3a8f5

View file

@ -14,11 +14,13 @@ let McFlyGlobal: {
/** /**
* @typedef {import('estree').BaseNode} JsNode * @typedef {import('estree').BaseNode} JsNode
* @typedef {import('h3').H3Event} H3Event
*/ */
/** /**
* McFly HTML Template parser * Evaluates `server:setup` scripts and returns a clean HTML string
* @param {string} _html * @param {string} _html
* @param {H3Event} event
* @returns {string} * @returns {string}
*/ */
export async function evaluateServerScripts(_html: string, event: H3Event) { export async function evaluateServerScripts(_html: string, event: H3Event) {