Commit Graph

15 Commits

Author SHA1 Message Date
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Max
14cc56099a Overload then, catch, finally definitions 2015-12-05 07:16:13 -05:00
Max
b545524610 RequestPromise to extend Promise<T>
The current then/catch/finally in RequestPromise don't have proper definition. As a result `await` in Typescript 1.7 fails during compilation blaming that there's no proper `then` implementation.
2015-12-04 14:04:52 -05:00
Joe Skeen
65dcfa6ec0 Fix request-promise 2015-11-13 09:31:08 -07:00
Joe Skeen
0d92319be4 Merge branch 'request-promise' of https://github.com/joeskeen/DefinitelyTyped; branch 'master' of https://github.com/borisyankov/DefinitelyTyped into request-promise
* 'request-promise' of https://github.com/joeskeen/DefinitelyTyped:

# By Ilya Mochalov (83) and others
# Via Masahiro Wakame (243) and others
* 'master' of https://github.com/borisyankov/DefinitelyTyped: (473 commits)
  provide the explicit types in geolocation-tests to make the build happy
  in ng-cordova files correct the conventions for multiple authors
  add the ngCordova type definitions for network,deviceOrientation,deviceMotion, appAvailability,geolocation,emailComposer and dialogs
  lodash: signatures of the method _.forEach have been changed
  lodash: signatures of the method _.some have been changed
  lodash: signatures of the method _.compact have been changed
  lodash: signatures of the method _.startsWith have been changed
  lodash: signatures of the method _.callback have been changed
  Add delegate and undelegate methods to View
  Updated net.connect, combined url.Url and url.UrlOptions.
  fix angularjs/angular-resource.d.ts
  Added definition for inline-css
  rename the folder from ngCordova to follow the convention similar to bower & npm
  lodash: signatures of the method _.map changed
  added missing declaration for optional dynamicHash property on DurandalRelativeRouteSettings to support TypeScript 1.6 tightened compilation rules
  lodash: signatures of the method _.padLeft have been changed
  lodash: signatures of the method _.snakeCase have been changed
  lodash: signatures of the method _.propertyOf have been changed
  lodash: signatures of the method _.parseInt have been changed
  lodash: signatures of the method _.matchesProperty have been changed
  ...

Conflicts:
	request-promise/request-promise.d.ts
	request/request.d.ts
2015-11-04 10:43:58 -07:00
Jacob Eggers
1d7d9e514e Fixes #6489 2015-10-28 00:05:07 -07:00
Joe Skeen
6c9b4cf024 fix implicit any 2015-10-07 10:58:20 -06:00
Joe Skeen
1a9a1665fb fix tests 2015-10-07 10:55:24 -06:00
Joe Skeen
98184ee41d Added back missing options and fixed promise exposure 2015-10-07 10:51:29 -06:00
Joe Skeen
b06d25ff7a Fix implicit any issues 2015-10-07 10:01:23 -06:00
Joe Skeen
31d1cc43cd Change request-promise to use full 'request' API 2015-10-07 09:41:45 -06:00
Aya Morisawa
673be8a169 Fix return value of transform in request-promise.d.ts
The return value of `transform` function is not necessarily `number`.
2015-08-20 23:52:15 +09:00
Christopher Glantschnig
9e69de89d1 fixed return type according to the tests 2015-06-25 18:29:57 +02:00
Christopher Glantschnig
a619d54c4f added tests and updated header according to contribution guidelines 2015-06-24 20:57:15 +02:00
Christopher Glantschnig
458b73bddd added definitions for request-promise 2015-06-24 20:37:49 +02:00