From 3fa84ff6b041cdae6934d8925982f9b07f0fe890 Mon Sep 17 00:00:00 2001 From: Sam Saccone Date: Wed, 8 Jul 2020 20:58:59 -0700 Subject: [PATCH] docs: fix incorrect formatting in browser docs. 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 --- 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 ce0f5fa66524b..2fc0472d5936b 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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])`