Commit Graph
18479 Commits
Author SHA1 Message Date
Ryan Smith 84ae09b624 Attempts to fix remaining errors.
```
knex/knex-tests.ts(502,9): error TS2345: Argument of type '(names: string) => void' is not assignable to parameter of type '(value: string[]) => void | PromiseLike<void>'.
  Types of parameters 'names' and 'value' are incompatible.
    Type 'string' is not assignable to type 'string[]'.
knex/knex-tests.ts(522,4): error TS2339: Property 'bind' does not exist on type 'QueryBuilder'.
knex/knex-tests.ts(533,35): error TS2339: Property 'return' does not exist on type 'QueryBuilder'.
```

https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/119593429
2016-03-30 18:29:30 +01:00
Ryan Smith ff6d2d2b90 Attempts to fix new errors.
```
knex/knex-tests.ts(500,16): error TS2339: Property 'name' does not exist on type 'string'.
knex/knex-tests.ts(502,9): error TS2345: Argument of type '(names: string) => void' is not assignable to parameter of type '(value: any[]) => void | PromiseLike<void>'.
  Types of parameters 'names' and 'value' are incompatible.
    Type 'string' is not assignable to type 'any[]'.
```

https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/119592117
2016-03-30 18:22:39 +01:00
Ryan Smith 905ee7e6f5 Attempts to fix more TS2339 errors.
```
knex/knex-tests.ts(498,45): error TS2339: Property 'map' does not exist on type 'QueryBuilder'.
knex/knex-tests.ts(506,45): error TS2339: Property 'reduce' does not exist on type 'QueryBuilder'.
```

https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/119590526
2016-03-30 18:18:16 +01:00
Ryan Smith 7fb76f6e39 Fixes most TS2339 and all TS7006 errors. 2016-03-30 18:11:16 +01:00
Ryan Smith 18fad79175 Fixes for ES6. 2016-03-30 15:05:16 +01:00
Masahiro Wakame fc0f5a34aa Merge pull request #8745 from khisakuni/gapi/add-promise-return-value
Add overloaded method.
2016-03-30 23:04:57 +09:00
Masahiro Wakame d96d009ffb Merge pull request #8668 from jussikinnula/master
Add dotenv
2016-03-30 23:02:57 +09:00
Masahiro Wakame ea26549f3c Merge pull request #8739 from Crevil/protractor-http-mock
Update protractor-http-mock to v0.4.0
2016-03-30 23:01:39 +09:00
Masahiro Wakame b9d4a939a0 Merge pull request #8737 from Crevil/ng-facebook
Add ng-facebook typings
2016-03-30 23:00:18 +09:00
Masahiro Wakame dc11050701 Merge pull request #8736 from aleung/oracledb
oracledb.d.ts : access object property in result rows
2016-03-30 22:59:55 +09:00
Masahiro Wakame d9029f181b Merge pull request #8734 from marinewater/master
Add missing type in argument for fromnow
2016-03-30 22:51:04 +09:00
Horiuchi_H dbb2d9f1f1 Merge pull request #8765 from seansfkelley/moment-merge-unionable-types
Make moment's typings for parsing stricter and also allow them to accept union types.
2016-03-30 13:01:32 +09:00
Kohei Hisakuni 95d827df4b Make callback required 2016-03-29 20:45:22 -07:00
Horiuchi_H 0bc5c30dde Merge pull request #8751 from timothysoehnlin/patch-2
Update mongodb.d.ts
2016-03-30 12:37:37 +09:00
Horiuchi_H e44d19430c Merge pull request #8750 from KSDaemon/master
Added definitions for wampy
2016-03-30 12:37:00 +09:00
Horiuchi_H da29feb539 Merge pull request #8743 from bmiller1/patch-2
Added remove() function to MapsEventListener
2016-03-30 12:21:56 +09:00
Sean Kelley 1ec036686e Make moment's typings for parsing stricter and also allow them to accept union types.
These changes do two things.

1. Replace very lax typings like `any[]` with stricter, more-correct versions. In particular,
the ISO_8601 constant, while /technically/ a void function, is actually an opaque sentinel
that a consumer should not know anything about it. The function type was replaced with a
sentinel type using the principle of "brands" that can be seen in the Typescript compiler:
https://github.com/Microsoft/TypeScript/blob/413d9a639f933df7539070b236c1677de8302a93/src/compiler/types.ts#L9

2. Replace the many overloads of the parsing methods with a smaller representative set that
uses union types instead. Aside from succinctness, this allows callers to provide a union
type as the argument, as long as it matches, which was not possible before (Typescript does
not explode the union type to see if overloads cover all the possibilities).
2016-03-29 15:03:48 -07:00
Masahiro Wakame ee9c524295 Merge pull request #8749 from DefinitelyTyped/update-i18next-sprintf-postprocessor-tests
improve i18next-sprintf-postprocessor/i18next-sprintf-postprocessor.d.ts
2016-03-29 23:13:35 +09:00
Masahiro Wakame 4bd9b47f0e Merge pull request #8636 from florentpoujol/three.js_r74
Update definitions to THREE.js r74
2016-03-29 16:06:49 +09:00
Masahiro Wakame 4101b65a5b Merge pull request #8638 from Nkzn/geojson-generics
Improve GeoJSON generics
2016-03-29 12:37:56 +09:00
Basarat Ali Syed d99f6bb17b Merge pull request #8748 from timothysoehnlin/master
Adding Alternate Constructors for GraphicsMagick
2016-03-29 11:28:13 +11:00
Timothy Soehnlin 04a46a81d9 Update mongodb.d.ts
Making initializedUnordered return UnorderedBulkOperation
2016-03-28 10:14:49 -05:00
Konstantin Burkalev 7228f5ce05 Fixes for es6 compilation 2016-03-28 18:07:11 +03:00
vvakame b1880a7db7 improve i18next-sprintf-postprocessor/i18next-sprintf-postprocessor.d.ts 2016-03-29 00:06:14 +09:00
Konstantin Burkalev c5344fa913 Fixed and added tests 2016-03-28 17:58:22 +03:00
Timothy Soehnlin 6d218806c8 Update gm.d.ts
Renaming stream to buffer for consistency
2016-03-28 09:28:02 -05:00
Timothy Soehnlin e821f19879 Update gm.d.ts
Supporting alternate constructors listed at https://github.com/aheckmann/gm#constructor
2016-03-28 09:25:50 -05:00
Konstantin Burkalev 967db8dd4c Added definitions for Wampy object 2016-03-28 16:55:11 +03:00
vvakame 80057d687a fix line ending about slideout/slideout.d.ts 2016-03-28 21:58:55 +09:00
Horiuchi_H 672366c6c5 Merge pull request #8689 from a-morales/create-natural-sort
add naturalSort typings
2016-03-28 17:29:42 +09:00
Horiuchi_H 14b820968e Merge pull request #8683 from rylko/rylko-patch-1
Update kendo-ui.d.ts
2016-03-28 17:26:10 +09:00
Kohei Hisakuni 234ca8dab0 Add overloaded method. 2016-03-27 20:44:17 -07:00
bmiller1 f0f6c7f00d Added remove() function to MapsEventListener
See 
https://developers.google.com/maps/documentation/javascript/reference?csw=1#MapsEventListener
2016-03-27 21:52:52 -05:00
Jussi Kinnula 822864b08c dotenv: Use correct GitHub link 2016-03-27 16:16:27 +03:00
Crevil 5653cd33a7 Update protractor-http-mock to v0.4.0 2016-03-27 14:06:08 +02:00
Crevil f05cda287f Add ng-facebook typings 2016-03-27 14:00:36 +02:00
Leo Liang c67a3b8d61 oracledb.d.ts : access object property in result rows 2016-03-27 16:33:22 +08:00
Masahiro Wakame 299b5caa22 Merge pull request #8731 from chrootsu/lodash-result
lodash: changed _.result
2016-03-27 09:49:37 +09:00
Masahiro Wakame 8ff687952b Merge pull request #8730 from chrootsu/lodash-get
lodash: changed _.get
2016-03-27 09:49:28 +09:00
Masahiro Wakame 3076bc367c Merge pull request #8729 from chrootsu/lodash-identity
lodash: changed _.identity
2016-03-27 09:49:16 +09:00
marinewater c2da4112f2 Update fromnow.d.ts 2016-03-27 01:48:20 +01:00
marinewater 596756140d Update fromnow-tests.ts 2016-03-27 01:46:28 +01:00
marinewater 99dd7809c6 Merge pull request #1 from DefinitelyTyped/master
update
2016-03-27 01:38:51 +01:00
Ilya Mochalov 94c04275d2 lodash: changed _.get 2016-03-27 01:58:24 +05:00
Ilya Mochalov 7c924f2efe lodash: changed _.result 2016-03-27 01:50:58 +05:00
Ilya Mochalov 3e85fd1365 lodash: changed _.identity 2016-03-27 00:11:09 +05:00
Masahiro Wakame dc6d1ebfaa Merge pull request #8666 from MugeSo/add-definition-for-stream-meter
Add definition for stream-meter
2016-03-27 01:34:11 +09:00
Masahiro Wakame e648c340ad Merge pull request #8632 from ToastHawaii/master
Add typedefinition for slideout.
2016-03-27 01:32:44 +09:00
Masahiro Wakame 138773a928 Merge pull request #8726 from googol7/redux331
updated redux createStore definition to reflect the current 3.3.1 def…
2016-03-27 01:32:10 +09:00
Masahiro Wakame c3a3359efd Merge pull request #8680 from flowpl/add_flow_control_methods_to_hapi_Response_class
added flow control methods to Hapi Response class
2016-03-27 01:30:53 +09:00