spelling: anonymous

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2020-09-27 15:45:11 -04:00
parent 3bfb2b673f
commit 753cf0c0e6

View File

@ -30,7 +30,7 @@ export function extractFunctionName(func: Function, propName: string): string {
const { name } = func;
// Comparison with the prop name is to discard inferred function names.
if (name !== '' && name !== 'anoynymous' && name !== propName) {
if (name !== '' && name !== 'anonymous' && name !== propName) {
return name;
}