Allow for ES6 Import of Restangular

This commit is contained in:
Adam Martin
2015-08-21 12:13:17 +01:00
parent 38fb591c6e
commit 3c79b26f0b
+7
View File
@@ -6,6 +6,13 @@
/// <reference path="../angularjs/angular.d.ts" />
// Support AMD require (copying angular.d.ts approach)
// allows for import {IRequestConfig} from 'restangular' ES6 approach
declare module 'restangular' {
export = restangular;
}
declare module restangular {