Skip to content

Commit

Permalink
TS
Browse files Browse the repository at this point in the history
  • Loading branch information
WebReflection committed Jan 18, 2024
1 parent 7a074bf commit 4c1828b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esm/literals.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ export const cel = (f, e, d) => ({ f, e, d });
* @property {any} v the current value of the interpolation / hole
* @property {function} u the callback to update the value
* @property {Node} t the target comment node or element
* @property {string} n the name of the attribute, if any
* @property {string | null} n the attribute name, if any, or `null`
*/

/**
* @param {any} v the current value of the interpolation / hole
* @param {function} u the callback to update the value
* @param {Node} t the target comment node or element
* @param {string?} n the attribute name, if any, or `null`
* @param {string | null} n the attribute name, if any, or `null`
* @returns {Detail}
*/
export const detail = (v, u, t, n) => ({ v, u, t, n });

/**
* @param {number[]} p the path to retrieve the node
* @param {function} u the update function
* @param {string?} n the attribute name, if any, or `null`
* @param {string | null} n the attribute name, if any, or `null`
* @returns {Entry}
*/
export const entry = (p, u, n) => ({ p, u, n });
Expand Down

0 comments on commit 4c1828b

Please sign in to comment.