TypeScript Version: 3.2.0-dev.20181017
Search Terms: react, tsx, jsx, construct, call signatures.
Code
import React from 'React'
const Context = React.createContext<{}>({});
const El = <Context.Provider>{() => null}</Context.Provider>
Expected behavior:
Works as in 3.1.3
Actual behavior:
Giving JSX element type 'Context.Provider' does not have any construct or call signatures.
TypeScript Version: 3.2.0-dev.20181017
Search Terms: react, tsx, jsx, construct, call signatures.
Code
Expected behavior:
Works as in 3.1.3
Actual behavior:
Giving
JSX element type 'Context.Provider' does not have any construct or call signatures.