You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If there are errors when trying to figure out stateless component function, just return the first declaration
90
-
// For example:
91
-
// declare function /*firstSource*/MainButton(buttonProps: ButtonProps): JSX.Element;
92
-
// declare function /*secondSource*/MainButton(linkProps: LinkProps): JSX.Element;
93
-
// declare function /*thirdSource*/MainButton(props: ButtonProps | LinkProps): JSX.Element;
94
-
// let opt = <Main/*firstTarget*/Button />; // Error - We get undefined for resolved signature indicating an error, then just return the first declaration
0 commit comments