mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(doclint): support classes inheritance (#935)
This patch: - gives meaningful names to doclint tests - supports classes inheritance in documentation linter. When class A extends class B, all methods of class B are added to documentation of class A. This is a prerequisite for Object Handles: ElementHandle will be extending ObjectHandle. References #382
This commit is contained in:
10
utils/doclint/check_public_api/test/diff-arguments/foo.js
Normal file
10
utils/doclint/check_public_api/test/diff-arguments/foo.js
Normal file
@@ -0,0 +1,10 @@
|
||||
class Foo {
|
||||
constructor(arg1, arg3 = {}) {
|
||||
}
|
||||
|
||||
test(...filePaths) {
|
||||
}
|
||||
|
||||
bar({visibility}) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user