Compatibility with TS 0.9

'declare' now required for top level non-interface : 

https://typescript.codeplex.com/wikipage?title=Known%20breaking%20changes%20between%200.8%20and%200.9
This commit is contained in:
basarat 2013-04-30 10:11:43 +07:00
parent aa830d6aac
commit d5fc0335e8

View File

@ -11,7 +11,7 @@ declare var angular: ng.IAngularStatic;
///////////////////////////////////////////////////////////////////////////////
// ng module (angular.js)
///////////////////////////////////////////////////////////////////////////////
module ng {
declare module ng {
// All service providers extend this interface
interface IServiceProvider {