Adding angular 1.2 definitions

Conflicts:
	angularjs/angular-mocks.d.ts
This commit is contained in:
Jonathan Park
2013-10-23 14:55:46 -07:00
committed by John Emau
parent 465dfbaa6e
commit 683e94d8d8
14 changed files with 1513 additions and 64 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for Angular JS 1.0 (ngResource module)
// Type definitions for Angular JS 1.2 (ngResource module)
// Project: http://angularjs.org
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -20,7 +20,7 @@ declare module ng.resource {
///////////////////////////////////////////////////////////////////////////
interface IResourceService {
(url: string, paramDefaults?: any,
/** example: {update: { method: 'PUT' }, delete: deleteDescriptor }
/** example: {update: { method: 'PUT' }, delete: deleteDescriptor }
where deleteDescriptor : IActionDescriptor */
actionDescriptors?: any): IResourceClass;
}