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; }, });