puppeteer/utils/doclint/check_public_api/test/diff-arguments/foo.js

20 lines
235 B
JavaScript

class Foo {
/**
* @param {string} arg1
*/
foo(arg1, arg3 = {}) {
}
/**
* @param {...string} filePaths
*/
test(...filePaths) {
}
/**
* @param {{visibility?: boolean}} options
*/
bar(options) {
}
}