TypeScript Version: 2.5.2

Expected behavior:
Should be no error
Actual behavior:
[ts] Property 'handleClick' does not exist on type 'Component<any, any>'.
If there is a problem here, we have no idea what it is. Why do you feel that this is a TypeScript bug, and do you have a more minimal repro if so?
A type assertion will get you what you want: (wrapper.instance() as App).handleClick(
As to why it's necessary, unfortunately the shallow wrapper can't know about your instance methods. JSX is a bit of a black hole for type information. The type of the expression <App /> is completely disconnected from the type of App. So by the time we get to .instance() on the wrapper, the best the type definitions can do is tell you that there's probably stuff from the React.Component base class on there, but it doesn't know about anything else.
@jwbay - thanks for the grreeat explanaition. And for the suggested fix. Respect :speak_no_evil:
@DanielRosenwasser there is the repository for this
I apologize, but the influx of issues being filed we have means that we don't have the time to dive into every project's codebase. Our bandwidth is relatively limited so asking us to diagnose a whole project or learn Enzyme's API is a bit much.
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Most helpful comment
I apologize, but the influx of issues being filed we have means that we don't have the time to dive into every project's codebase. Our bandwidth is relatively limited so asking us to diagnose a whole project or learn Enzyme's API is a bit much.