From 82bc9c15668708ba909fc984527a49304a058b76 Mon Sep 17 00:00:00 2001 From: Tarik Onalan Date: Mon, 29 Jul 2019 06:01:15 -0700 Subject: [PATCH] Fix typo in documentation Resolves #769. --- .../eslint-plugin/docs/rules/explicit-function-return-type.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-plugin/docs/rules/explicit-function-return-type.md b/packages/eslint-plugin/docs/rules/explicit-function-return-type.md index 01755e395409..b1ac9af14ff4 100644 --- a/packages/eslint-plugin/docs/rules/explicit-function-return-type.md +++ b/packages/eslint-plugin/docs/rules/explicit-function-return-type.md @@ -142,9 +142,9 @@ let objectPropCast = { declare functionWithArg(arg: () => number); functionWithArg(() => 1); -declare functionWithObjectArg(arg: { meth: () => number }); +declare functionWithObjectArg(arg: { method: () => number }); functionWithObjectArg({ - meth() { + method() { return 1; }, });