// @filename: file.tsx // @jsx: preserve // @module: amd // @noLib: true // @skipLibCheck: true // @libFiles: react.d.ts,lib.d.ts import React = require('react'); const Foo = (props: any) =>
; // Should be OK const foo = ; // Should be OK var MainMenu: React.StatelessComponent<{}> = (props) => (

Main Menu

); var App: React.StatelessComponent<{ children }> = ({children}) => (
);