Missing return type
AdamZajler opened this issue · 1 comments
AdamZajler commented
https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/error_boundaries/
public componentDidCatch(error: Error, errorInfo: ErrorInfo): void
public render(): React.ReactNode
filiptammergard commented
Hey @AdamZajler!
Return types are not required—it's a matter of personal preferences.