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}`;
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: