Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
9 lines
407 B
TypeScript
9 lines
407 B
TypeScript
import * as React from 'react';
|
|
export declare function getFunctionName(fn: Function): string;
|
|
/**
|
|
* cherry-pick from
|
|
* https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js
|
|
* originally forked from recompose/getDisplayName with added IE11 support
|
|
*/
|
|
export default function getDisplayName(Component: React.ElementType): string | undefined;
|