mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-31 11:40:47 +08:00
Allow for ES6 Import of Restangular
This commit is contained in:
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