add commonjs module declarations to angular

This commit is contained in:
vvakame
2015-03-17 22:24:15 +09:00
parent 95d860879f
commit 32194eaa6f
5 changed files with 47 additions and 19 deletions
+6 -1
View File
@@ -6,6 +6,11 @@
/// <reference path="angular.d.ts" />
declare module "angular-sanitize" {
var _: string;
export = _;
}
///////////////////////////////////////////////////////////////////////////////
// ngSanitize module (angular-sanitize.js)
///////////////////////////////////////////////////////////////////////////////
@@ -25,7 +30,7 @@ declare module angular.sanitize {
///////////////////////////////////////////////////////////////////////////
export module filter {
// Finds links in text input and turns them into html links.
// Finds links in text input and turns them into html links.
// Supports http/https/ftp/mailto and plain email address links.
// see http://code.angularjs.org/1.2.0/docs/api/ngSanitize.filter:linky
interface ILinky {