Files
DefinitelyTyped/parse
David Poetzsch-Heffter 71f47713ff Parse fixes (#9987)
* Added overriden version of extend in Parse.User

* added type declaration of Parse.Promise.when with varargs

* making Promise compatible with IPromise

* fixed when: it is enough to have IPromise here

* added Parse.Config class

* fixed save/saveAll signatures

* any object is allowed as function response

* more precise signature for Parse.Object#find

* request has a property object in beforeSave triggers

* fixed types of trigger request & response objects

* better fetch signatures

* fixed typing for JobStatus

* ErrorCode enum needs to be inlined in order to not create a dependency on the type definition

* fixed return types of Parse.Promise#then

* fixed typing of Parse.Promise.error

* added static function Object.registerSubclass

* fixed signature of Object#save

* removed wrongly typed signatures; User inherits the correcrt ones from Object

* added signature for Object#createAt and Object#updatedAt

* javaScriptKey is optional according to https://github.com/ParsePlatform/Parse-SDK-JS/blob/v1.8.5/src/Parse.js

* added class Session with methods typed according to https://parse.com/docs/js/api/classes/Parse.Session.html
2016-07-23 19:45:08 -07:00
..
2016-07-23 19:45:08 -07:00