docs: fix incorrect formatting in browser docs. (#24473)

Address incorrect typing for isEnabled. The root cause of this was due
to missing backticks which caused the docs parser to think that the
return type of the `isEnabled` function was null, where it was supposed
to be a boolean type.

The side effect of this was that the generated typescript typings were
incorrect for this function.

Fixes #24409
This commit is contained in:
Sam Saccone 2020-07-10 13:57:29 -07:00 committed by GitHub
parent 6c4017ff45
commit e18f508e66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1123,7 +1123,7 @@ Disable or enable the window.
#### `win.isEnabled()`
Returns Boolean - whether the window is enabled.
Returns `Boolean` - whether the window is enabled.
#### `win.setSize(width, height[, animate])`