diff --git a/angularjs/angular-tests.ts b/angularjs/angular-tests.ts index 6354e188c..3ea1371f4 100644 --- a/angularjs/angular-tests.ts +++ b/angularjs/angular-tests.ts @@ -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', function($scope : ng.IScope) {}]) mod.controller(My.Namespace); -mod.directive('name', function($scope : ng.IScope) {}) +mod.directive('name', function ($scope: ng.IScope) {}) mod.directive('name', ['$scope', function($scope : ng.IScope) {}]) mod.directive(My.Namespace); mod.factory('name', function($scope : ng.IScope) {}) diff --git a/chai/chai-assert.d.ts b/chai/chai-assert.d.ts index b31b7bde5..ab1a23d14 100644 --- a/chai/chai-assert.d.ts +++ b/chai/chai-assert.d.ts @@ -107,7 +107,7 @@ declare module chai ifError(val:any, msg?:string); } //node module - declare var assert:Assert; + var assert:Assert; } //browser global declare var assert:chai.Assert; \ No newline at end of file diff --git a/chai/chai.d.ts b/chai/chai.d.ts index df9e12382..5034b8153 100644 --- a/chai/chai.d.ts +++ b/chai/chai.d.ts @@ -35,7 +35,7 @@ declare module chai { interface TypeComparison { (type: string, message?: string): bool; - instanceof(type: Object, ): bool; + instanceof(type: Object): bool; } interface NumericComparison {