From 777283b340ebaf4ca0a7ace6601d7d3b327cc8d4 Mon Sep 17 00:00:00 2001 From: John Eismeier <32205350+jeis2497052@users.noreply.github.com> Date: Fri, 9 Feb 2018 18:10:54 -0500 Subject: [PATCH] Docs: Propose fix typo for function (#9965) --- docs/developer-guide/nodejs-api.md | 2 +- docs/rules/valid-typeof.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer-guide/nodejs-api.md b/docs/developer-guide/nodejs-api.md index c774666e0da..4988f269680 100644 --- a/docs/developer-guide/nodejs-api.md +++ b/docs/developer-guide/nodejs-api.md @@ -496,7 +496,7 @@ If the operation ends with a parsing error, you will get a single message for th warningCount: 0, fixableErrorCount: 0, fixableWarningCount: 0, - source: "fucntion foo() {}" + source: "function foo() {}" } ], errorCount: 1, diff --git a/docs/rules/valid-typeof.md b/docs/rules/valid-typeof.md index 2ce02b4906b..60539eecbce 100644 --- a/docs/rules/valid-typeof.md +++ b/docs/rules/valid-typeof.md @@ -20,7 +20,7 @@ Examples of **incorrect** code for this rule: typeof foo === "strnig" typeof foo == "undefimed" typeof bar != "nunber" -typeof bar !== "fucntion" +typeof bar !== "function" ``` Examples of **correct** code for this rule: