couple more jsdoc fixes
This commit is contained in:
parent
2723b4fbc1
commit
6183cc6953
2 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue