From 24dac452fe984638cab924788e73e13591cc7e1d Mon Sep 17 00:00:00 2001 From: Tarik Onalan Date: Mon, 29 Jul 2019 08:56:14 -0700 Subject: [PATCH] docs: fix typo in documentation for explicit-function-return-type (#772) 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 01755e39540..b1ac9af14ff 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; }, });