<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 3.3.0-dev.20181130 **@types/react Version:** 16.7.10 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** Infer parameter types from usage quick fix react jsx **Code** ```ts import React from "react"; function handle(e) { console.log(e); } function Button() { return <button onClick={handle} />; } ``` **Expected behavior:** Trigger "Infer parameter types from usage" quick fix for `e` and it should add `React.MouseEvent<HTMLButtonElement>` type for the `e` parameter **Actual behavior:** It adds `any` type **Related Issues:** <!-- Did you find other bugs that looked similar? --> https://github.com/Microsoft/TypeScript/issues/22357 https://github.com/Microsoft/TypeScript/issues/28766