docs: fix return type of getPrinters (#21411)
This commit is contained in:
parent
5bc8809d64
commit
4ac575416f
2 changed files with 2 additions and 1 deletions
|
@ -276,6 +276,7 @@ WebContents.prototype.getPrinters = function () {
|
|||
return this._getPrinters()
|
||||
} else {
|
||||
console.error('Error: Printing feature is disabled.')
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue