From d67ff0fe0ed0c0468b53724ff08a5ae1f1086f1b Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Mon, 13 Jul 2020 08:56:51 -0700 Subject: [PATCH] docs: fix incorrect formatting in browser docs. (#24515) 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 Co-authored-by: Sam Saccone --- docs/api/browser-window.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 1e62162f5f0ca..017391b3e2ea1 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -1061,7 +1061,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])`