mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
0960dc38d1
This patch teaches doclint to regenerate table of contents automatically whenever it's needed. This patch: - splits lint.js into lint.js and cli.js - teaches cli.js to generate table-of-contents - removes the test for table-of-contents errors from doclint - adds a test for doclint failing to parse object destructuring in method parameters.
11 lines
106 B
JavaScript
11 lines
106 B
JavaScript
class Foo {
|
|
constructor(arg1, arg3 = {}) {
|
|
}
|
|
|
|
test(...filePaths) {
|
|
}
|
|
|
|
bar({visibility}) {
|
|
}
|
|
}
|