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: