Skip to content

Commit 5cbfc84

Browse files
committed
Fix addReporterBlock() doc comment
1 parent cecf874 commit 5cbfc84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • addon-api/content-script

addon-api/content-script/Tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default class Tab extends Listenable {
6767
* @param {string} proccode the procedure definition code
6868
* @param {boolean} isBoolean - whether the block is hexagonal.
6969
* @param {object} opts - options.
70-
* @param {Tab~blockCallback} opts.callback - the callback, the returned value is the output of the block.
70+
* @param {function} opts.callback - the callback, the returned value is the output of the block.
7171
* @param {boolean=} opts.hidden - whether the block is hidden from the palette.
7272
*/
7373
addReporterBlock(proccode, isBoolean, opts) {

0 commit comments

Comments
 (0)