Skip to content

Commit e18f508

Browse files
authored
docs: fix incorrect formatting in browser docs. (electron#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 electron#24409
1 parent 6c4017f commit e18f508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/browser-window.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ Disable or enable the window.
11231123

11241124
#### `win.isEnabled()`
11251125

1126-
Returns Boolean - whether the window is enabled.
1126+
Returns `Boolean` - whether the window is enabled.
11271127

11281128
#### `win.setSize(width, height[, animate])`
11291129

0 commit comments

Comments
 (0)