Updated jquery.cookie.d.ts to conform to the latest version of jquery.cookie (1.4.1). This meant adding a defaults property to the JQueryCookieStatic interface. Also added missing jsdoc documentation for better intellisense for editors that support it. The documentation uses the Github repo documentation where possible.
jquery.cookie supports converter function in the second argument:
https://github.com/carhartl/jquery-cookie
Example for parsing a value into a number:
$.cookie('foo', '42');
$.cookie('foo', Number); // => 42