When using this d.ts file I was getting a TS2345 error: Type 'string' is not assignable to type 'number'. Looks like it was just a copy and paste error or something. I've changed it from number to string.
* Changing hitch signature to match documentation
* Changing hitch signature to match documentation
* Changing dojo/_base/lang mixin signature to match documentation
* Revert "Changing dojo/_base/lang mixin signature to match documentation"
This reverts commit cdfb764333.
* Changing djit.Destroyable.own signature to match documentation and implmentation
Make QueueUrl optional, as it can have a default value that is be obtained from aws.SQS:
```
var sqs = new aws.SQS({
region: config.aws.region,
accessKeyId: config.aws.accessID,
secretAccessKey: config.aws.secretKey,
// For every request in this demo, I'm going to be using the same QueueUrl; so,
// rather than explicitly defining it on every request, I can set it here as the
// default QueueUrl to be automatically appended to every request.
params: {
QueueUrl: config.aws.queueUrl
}
});
var sendMessage = Q.nbind( sqs.sendMessage, sqs );
// ---------------------------------------------------------- //
// ---------------------------------------------------------- //
// Now that we have a Q-ified method, we can send the message.
sendMessage({
MessageBody: "This is my first ever SQS request... evar!"
})
```
Based on:
http://www.bennadel.com/blog/2792-shedding-the-monolithic-application-with-aws-simple-queue-service-sqs-and-node-js.htm
JQ(lite)-unwrapping $document[0] should be of type Document instead of
the default HTMLElement. Otherwise important methods like
getElementById are missing.
These are minor changes:
* There's a `status` field that can be used to check if the connection to the redis server is active.
* There's a `getBuffer` method that returns a node `Buffer` instance instead of a string (if you're saving binary data on redis, this is useful).
* The callback on `connect` is optional.
* 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