mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
fixing tests to work with TS0.9
This commit is contained in:
@@ -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