diff --git a/packages/eslint-plugin/docs/rules/explicit-module-boundary-types.md b/packages/eslint-plugin/docs/rules/explicit-module-boundary-types.md index 2995d3b2c7ec..e48af85195d8 100644 --- a/packages/eslint-plugin/docs/rules/explicit-module-boundary-types.md +++ b/packages/eslint-plugin/docs/rules/explicit-module-boundary-types.md @@ -56,7 +56,7 @@ export var fn = function (): number { }; // A return value of type string -export var arrowFn = (arg: string): string => `test ${arg}`; +export var arrowFn = (): string => 'test'; // All arguments should be typed export var arrowFn = (arg: string): string => `test ${arg}`;