tests/cases/compiler/file.tsx(11,14): error TS2326: Types of property 'prop' are incompatible.
  Type 'number' is not assignable to type 'string'.


==== tests/cases/compiler/file.tsx (1 errors) ====
    declare namespace JSX {
        interface Element {
            render(): Element | string | false;
        }
    }
    
    function SFC<T>(props: Record<string, T>) {
        return '';
    }
    
    <SFC<string> prop={1}></SFC>; // should error
                 ~~~~~~~~
!!! error TS2326: Types of property 'prop' are incompatible.
!!! error TS2326:   Type 'number' is not assignable to type 'string'.
    