/// // @noImplicitAny: true // @jsx: react // @module: es2015 // @moduleResolution: node ////declare namespace React { //// export class Component { render(): JSX.Element | null; } ////} ////declare global { //// namespace JSX { //// interface Element {} //// } ////} //// //// export default function Component([|props |]) { //// if (props.isLoading) { //// return
...Loading < /div>; //// } //// else { //// return { //// return props.update(rec); //// } //// } //// />; //// } //// } verify.rangeAfterCodeFix("props: { isLoading: any; update: (arg0: any) => any; }",/*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, 0);