// @jsx: react // @strict: true // @esModuleInterop: true /// import React from 'react'; function test

(wrappedProps: P) { let MySFC = function(props: P) { return <>hello; }; class MyComponent extends React.Component

{ render() { return <>hello; } } let x = ; // should error let y = ; // should error let z = // should work let q = // should work }