mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-15 12:42:26 +08:00
Allow for ES6 Import of Restangular
This commit is contained in:
1 parent
38fb591c6e
commit
3c79b26f0b
1 file changed
+7
Vendored
+7
@@ -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 {
|
||||
|
||||
|
||||
Reference in new issue
Block a user