mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-21 01:17:43 +03:00
chore: fix docs roll for functions without args follow-up (#29687)
This commit is contained in:
parent
03902d8e85
commit
1a43adc506
@ -566,7 +566,7 @@ class Type {
|
||||
return type;
|
||||
}
|
||||
|
||||
if (parsedType.args) {
|
||||
if (parsedType.args || parsedType.retType) {
|
||||
const type = new Type('function');
|
||||
type.args = [];
|
||||
// @ts-ignore
|
||||
|
Loading…
Reference in New Issue
Block a user