refactor(core): JSDoc for evaluate script
This commit is contained in:
parent
f50edfb441
commit
43acc3a8f5
1 changed files with 3 additions and 1 deletions
|
@ -14,11 +14,13 @@ let McFlyGlobal: {
|
|||
|
||||
/**
|
||||
* @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 {H3Event} event
|
||||
* @returns {string}
|
||||
*/
|
||||
export async function evaluateServerScripts(_html: string, event: H3Event) {
|
||||
|
|
Loading…
Reference in a new issue