mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-12 12:10:48 +08:00
fixing tests to work with TS0.9
This commit is contained in:
1 parent
694b1d528f
commit
af07ce5360
1 file changed
+2
-2
@@ -142,7 +142,7 @@ module HttpAndRegularPromiseTests {
|
||||
// Test for AngularJS Syntac
|
||||
|
||||
module My.Namespace {
|
||||
|
||||
export var x; // need to export something for module to kick in
|
||||
}
|
||||
|
||||
// IModule Registering Test
|
||||
@@ -150,7 +150,7 @@ var mod = angular.module('tests',[]);
|
||||
mod.controller('name', function($scope : ng.IScope) {})
|
||||
mod.controller('name', ['$scope', <any>function($scope : ng.IScope) {}])
|
||||
mod.controller(My.Namespace);
|
||||
mod.directive('name', function($scope : ng.IScope) {})
|
||||
mod.directive('name', <any>function ($scope: ng.IScope) {})
|
||||
mod.directive('name', ['$scope', <any>function($scope : ng.IScope) {}])
|
||||
mod.directive(My.Namespace);
|
||||
mod.factory('name', function($scope : ng.IScope) {})
|
||||
|
||||
Reference in new issue
Block a user