couple more jsdoc fixes

This commit is contained in:
Loren Norman 2025-08-01 16:42:52 -04:00
parent 2723b4fbc1
commit 6183cc6953
2 changed files with 3 additions and 5 deletions

View file

@ -7,6 +7,7 @@
export default {
// becomes feed_set_value
action_publish: {
/** @type {import('#types').BlockRegenerator} */
json: (blockObject, helpers) => {
const payload = blockObject.publishAction
@ -24,6 +25,7 @@ export default {
// becomes feed_get_value
feed_selector: {
/** @type {import('#types').BlockRegenerator} */
json: blockObject => {
const payload = blockObject.feed

View file

@ -9,10 +9,6 @@ const makeUpTo = (from, target, step) => {
return range(from, target, step)
}
const stringifyOptions = (options) => {
}
/**
*
* @param {Object} options
@ -22,7 +18,7 @@ const stringifyOptions = (options) => {
* @param {number} [options.step]
* @param {boolean} [options.reverse]
* @param {Function} [options.valueFunc]
* @returns {Array}
* @returns {[string,string][]}
*/
export const makeOptions = (options = {}) => {
let optionValues