error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.


!!! error TS5107: Option 'module=AMD' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
!!! error TS5107: Option 'target=ES5' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
==== test.tsx (0 errors) ====
    // Should emit 'react-router' in the AMD dependency list
    import React = require('react');
    import ReactRouter = require('react-router');
    
    import Route = ReactRouter.Route;
    
    var routes1 = <Route />;
    
    namespace M {
    	export var X: any;
    }
    namespace M {
    	// Should emit 'M.X' in both opening and closing tags
    	var y = <X></X>;
    }
    
==== react.d.ts (0 errors) ====
    declare module 'react' {
    	var x: any;
    	export = x;
    }
    
    declare namespace ReactRouter {
    	var Route: any;
    	interface Thing { }
    }
    declare module 'react-router' {
    	export = ReactRouter;
    }
    