Commit Graph

36242 Commits

Author SHA1 Message Date
C Lentfort
cfce6f295f Add typings for cleave.js (#20550)
* Add typings for cleave.js

Add typings for cleave.js and <Cleave> react component.

* Fix lint errors

* fixup! Fix lint errors

* fixup! Fix lint errors
2017-10-13 15:16:29 -07:00
Sergii Paryzhskyi
3a6713a0f9 Add definitions date-arithmetic package (#20555)
* Add type definitions and config to new package date-arithmetic

* Add tests for date-arithmetic package
2017-10-13 15:12:41 -07:00
Piotr Roszatycki
69737ccec9 ioredis: showFriendlyErrorStack option (#20459) 2017-10-13 15:11:17 -07:00
jakpaw
4ef648f6ea [lunr] Fix Index.query return value and add term to Clause (#20524) 2017-10-13 15:10:48 -07:00
Alvis Tang
547f6713f1 highland: add missing definitions & correct some others (#20446)
* chore(highland): add Alvis Tang as an author

* fix(highland): correct the definition of push

A push function should have a type of
```ts
(err: Error | null, x?: R | Highland.Nil) => void
```
such that it can accept
```ts
push(null, _nil);
```
to signal the end of the stream.

* fix(highland): add the missing defintion of uniq and uniqBy

See http://highlandjs.org/#uniq

* fix(highland): correct the definition of each

As a special case, `done` is allowed to attach to the stream after `each`.
See http://highlandjs.org/#each

* fix(highland): correct the definition of merge

The merge function should not take any argument. Also the return of a merged
stream should be the union type of the origins.

See http://highlandjs.org/#merge

* fix(highland): add the missing definition of toPromise.

See http://highlandjs.org/#toPromise
2017-10-13 15:10:28 -07:00
Azoson
97d6470bb0 [google-apps-script] Modify type definitions of functions which can return null (#20517)
* Fix type definition of `SpreadsheetApp.getActive`

* Fix type definition of `SpreadsheetApp.getActiveSpreadsheet`
2017-10-13 15:09:54 -07:00
nicholashza
f7520ec7bc Add Howler 2.0.5 definitions (#20551)
Definitions for playerror and xhrWithCredentials introduced in Howler 2.0.5 https://github.com/goldfire/howler.js/blob/master/CHANGELOG.md#205-october-6-2017
2017-10-13 15:09:36 -07:00
kekraft
447df163c1 Fix left chunks and right chunks typing. (#20567)
leftChunks() and rightChunks() returns an array of MergeViewDiffChunk.
2017-10-13 15:09:17 -07:00
Brandon Matheson
cd5ff7b75d Added CurrentUserIsSiteAdmin to ContextInfo (#20563) 2017-10-13 15:09:00 -07:00
neukym
2d3eb914e5 [@types/three] Adds morphTargetInfluences and morphTargetDictionary to mesh on three-core.d.ts (#20490)
* Adds morphTargetInfluences and morphTargetDictionary to mesh class

* Replaces morphTargetDictionary object type in three-core.d.ts
2017-10-13 15:08:35 -07:00
Kevin Greene
ee3de0d55e [thrift] Update with an interface for struct-like classes (#20536)
* Additionally, mark Transport constructor args as optional
2017-10-13 14:54:32 -07:00
Arda TANRIKULU
795cd33932 Meteor's underscore and ServiceConfiguration types and new version for publish-composite are added (#20413)
* ServiceConfiguration types added

* New usage of publishComposite added to meteor-publish-composite

* meteor/underscore added
2017-10-13 14:54:04 -07:00
Flarna
7671753459 [redux-form] Fix tests by setting strictFunctionTypes to false (#20571) 2017-10-13 13:14:34 -07:00
Matthias Lochbrunner
dfdf9e29ec Make RetryStrategyOptions.error of type NodeJS.ErrnoException (#20390) 2017-10-13 03:17:46 -07:00
Adrian Leonhard
601b1fa1d0 [fluent-ffmpeg] Added static ffprobe and fixed ffprobe. (#20391)
usage: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#reading-video-metadata
impl: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/fluent-ffmpeg.js#L219
ffprobe returns void: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/ffprobe.js#L86
2017-10-13 03:17:08 -07:00
Alexander Leon
d9ca7d7eff add types for amapa (#20393) 2017-10-13 03:15:59 -07:00
Shenghan Gao
e1228267bb Add types for Cytoscapejs (#20511)
* base (master) branch where all common changes start

* base (master) branch where all common changes start

* updated readme

* updated readme

* initial commit for cytoscape js

* update version

* added return types of void

* container can be jQuery

* container is not a jQuery but a get() works

* added style properties

* added style properties

* allow remove on CollectionElements

* added docs and algorithms

* added layout typings

* added layout intellisence and optional

* added missing elements from the api, may be broken

* incorporate CSS

* Remove OS restrictions

Previously, OS was restricted to only `linux`. However cytoscape.js does not appear to have any os restrictions defined in it's [`package.json`](https://github.com/cytoscape/cytoscape.js/blob/master/package.json).

* updated to match cytoscape 3.x

* updated version

* missing setter fro style

* target may not be present and type must be a string
That type can only be one of the specified event types.

* updated versions

* updated for IDE

* updated version to 0.0.1

* There is no known operating-system restriction.

* not an angular project

* type for cytoscapejs

* fixing types half way

* fix all travis errors and added some tests

* use HTMLElement instead of any for container

* add strictFunctionTypes
2017-10-13 03:15:35 -07:00
Chris Krycho
dfa4555106 Update Ember, RSVP, and Ember testing helpers. (#20301)
* Update RSVP to 4.0, to implement PromiseLike<T>.

- RSVP Promises can now be used with `async` and `await`.
- RSVP types now match what is in RSVP 4.0.

* Update ember-testing-helpers for fixed RSVP.

* Ember.js: correctly represent most of the framework.

- Capture the actual behavior of most of the framework, including computed
  properties, custom getters and setters and the custom Object model more
  generally, prototype extension via `.extend`, and the mixin pattern.
- Support the new modules API alongside the global API.
- Add extensive tests.
- Update inline documentation.
- Use the new, async/await compatible RSVP definitions.

* Ember/RSVP: drop .prettierrc files.

* Drop types/rsvp/assert.ts -- stick to just rsvp-test.ts.

* Fix ember-testing-helpers-tests on top of module itself.

* Fix RSVP import in ember-testing-helpers.

* Fix 'typeRoots', set ember-testing-helpers to use TS 2.4.

* Fix missing 'types' compiler option.

* Fix errors caught by dtslint.

* A few more tslint tweaks.

* Fix account link in ember-testing-helpers authorship.

* Disable strictFunctionTypes for Ember, RSVP.

* fix array.reduce signature conflict in ts@next
2017-10-13 03:13:17 -07:00
Ingvar Stepanyan
e176bdbdff Minor fixes/adjustments to ESTree (#20400)
* Minor fixes/adjustments to ESTree

 - Add `type: string` to base interface to allow only strings for `type` in any descendants.
 - Change `UnaryExpression::prefix` to `true` (since it can never be false and is just a backwards compatibility artefact).
 - Add absent / `null` as a valid `RegexpLiteral::value` (it's used by compliant parsers/tools when RegExp can't be natively represented).
 - Make `Literal::raw` optional to allow creating nodes without one.
 - Add missing `type` and location properties to `Comment` node.

* Update index.d.ts
2017-10-12 20:38:38 -07:00
Alexander Leon
48e3f82b80 improve definitions for attachments (#20392) 2017-10-12 18:33:47 -07:00
Mark Kornblum
ff0a65d058 Add storybook/addon-info types (#20538)
* Add storybook__addon-info types for version 3.2

* Better return type

* Remove unnecessary compiler option
2017-10-12 18:32:16 -07:00
Ruben Taelman
7f298ec31e Add rdf-data-model typings (#20539) 2017-10-12 18:31:02 -07:00
Alexander Leon
c7fcca390e add howler definitions for v. 2.0.3 (#20385)
* add more howler.js type definitions (#1)

* update index.d.ts

* add self-credit

* lint
2017-10-12 13:55:28 -07:00
Carlos Eduardo Scheffer
6ae1a432b9 fix base64 (#20387)
md5.base64 is not working because it is not in the interface
2017-10-12 13:54:42 -07:00
Jakub Korzeniowski
15dda2c9c9 [ramda] Improved definitions of type, head and last functions (#20332)
* Improved definitions of type, head and last functions

* Version bump

* Oops

* Linting

* no-unnecessary-type-assertion

* Removed version bump
2017-10-12 13:52:50 -07:00
Aluan Haddad
be50516c67 Modernize the declaration as a hybrid UMD + explicit global (#20512)
* Modernize the declaration as a hybrid UMD + explicit global

* fix failing tests

* remove dependency on lib.dom.d.ts

* append own name to maintainers list

* add a tslint.json file; lint declaration; lint tests

* remove SystemJSSystemFields interface
move SystemJSSystemFields properties to System interface
add comments to additional members. reference: https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#warnings

https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#pluginfirst

* Update header as per code review.
2017-10-12 13:51:02 -07:00
Robert K. Bell
5cadfa2d5d [highland] Add the through stream method (#20508)
* feat: add `through` stream method

[docs](http://highlandjs.org/#through)

* doc: remove noisy todo
2017-10-12 13:48:31 -07:00
Andy
fbdaba3edc pg-types: Remove "moment" dependency (#20525) 2017-10-12 13:47:52 -07:00
ohze.net
a06c2aaba6 paho-mqtt: fix Message.{payloadBytes, qos, constructor} & add export = to module declaration (#20528)
* paho-mqtt: fix type of payload constructor param & member payloadBytes of class Message

* paho-mqtt: fix type of Message.qos & add `export = Paho.MQTT` to module 'paho-mqtt' & add some other test cases
2017-10-12 13:47:05 -07:00
Matanel Sindilevich
e99171508a Type definitions for the Tress library (#20532)
* Adding .d.ts for the tress library

* Removing dev additions from the package.json

* Adding strictFunctionTypes to the tsconfig.json
2017-10-12 13:43:04 -07:00
segayuu
90649b73fe [Bluebird] cleanup lint errors (#20449)
* Cleanup Lint Error: ban-types

* Cleanup lint error: unified-signatures(exclude Promise.props())

* Cleanup lint error: array-type

* Setting max-line-length not to exceed current length

* Cleanup lint error: one-line

* Cleanup lint error: lintstrict-export-declare-modifiers

* [request] toJSON() return Object => object
2017-10-12 13:41:30 -07:00
Brandon Matheson
1587ff2a5c Resolve 20531 (#20533)
* Added ListTitle and SiteTitle to ContextInfo

* Added LastSelectedItemIID to RenderContext_InView
2017-10-12 13:38:09 -07:00
Gal Talmor
6333e37c8c Add File fields related to Multer S3 and fix metadata parameter type (#20339)
* Add File fields related to Multer S3 and fix metadata parameter type

* Update index.d.ts

* Add File fields related to Multer S3 and fix metadata parameter type

* Add File fields related to Multer S3 and fix metadata parameter type

* Add File fields related to Multer S3 and fix metadata parameter type
2017-10-12 02:25:55 -07:00
Sampson Oliver
2cdb812a31 stripe-node updated typings for webhook verification (#20382)
* Added stripe-node typings for webhook verification

- See example on the stripe-node github for webhook signing here: https://github.com/stripe/stripe-node/tree/master/examples/webhook-signing

* Updated stripe-node types version
2017-10-12 02:23:28 -07:00
Jacob Froman
972e5154d8 [react-native-google-signin] Add Typings (#20505)
* Add typings for react-native-google-signin

* Fix type in configure parameter

* Remove optional in favor of type | null
2017-10-12 02:22:49 -07:00
Alex Coles
6d187525fa [jest-diff] [jest-get-type] [jest-matcher-utils] Add typings (#20509)
* Add typings for jest-diff

* Add typings for jest-get-type

* Add typings for jest-matcher-utils

* Enable noImplicitThis option for jest-diff

* Enable noImplicitThis option for jest-get-type

* Enable noImplicitThis option for jest-matcher-utils

* Point jest-diff project URL to GitHub

* Point jest-get=type project URL to GitHub

* Point jest-matcher-utils project URL to GitHub

* Uncomment EXPECTED_BG, RECEIVED_BG variables

Although these variables have been removed on master of the
jest-matcher-utils repo, there has yet to be a release.

Add a TODO to indicate that a future update to these definitions will
be necessary.
2017-10-12 02:22:14 -07:00
Ruben Taelman
e5b56fcf1b Add RDFJS typings (#20507) 2017-10-12 02:19:53 -07:00
Jesse Zhang
7a068dfc31 [node-zookeeper-client] fix event type, should be number (#20500) 2017-10-12 02:17:21 -07:00
Josh Hall
cc47a2e4e1 @types/dwt: Add methods and properties to WebTwainEnv (#20506)
* Add Unload method to WebTwainEnv

* Add Containers property to WebTwainEnv

* Define arguments for RegisterEvent callback function

* Add Container interface

* Use correct syntax for Containers array definition
2017-10-12 01:46:23 -07:00
taoqf
87e5366901 remove log4js (#20518)
* add type definition numjs

* move ndtype from ndarry to numjs, remove unnecessary comments

* remote jsdoc annotations

* fixed: [#18508](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18508)

* add temptype to tolist

* fixed: merge Error.

* add interface TouchEvent

* remove log4js
2017-10-12 00:52:59 -07:00
Sebastian Ferreyra
16cec459b7 Widened 'koa'.Context.session type3 in order to enable strict null checks inb the compiler (#20341) 2017-10-11 16:21:25 -07:00
Giorgio Garasto
b4f36d8b46 node-telegram-bot-api - Added missing type definitions (#20335)
* Added types based on https://core.telegram.org/bots/api

* Fixed dtslint errors

* Updated tests

* Syntax update

Switched to newer syntax for function declarations in interfaces.
2017-10-11 16:20:57 -07:00
xeningem
0fc087ca36 Fix definition for convert-layout (#20355)
* Add types for convert-layout ( https://github.com/ai/convert-layout )

* Add missed layouts, fix tsc warnings

* Fix tslint and common mistakes

* Simplify definition structure for convert-layout
2017-10-11 16:20:10 -07:00
lucideer
dd06dd6ece [geojson] Allow numeric ID on GeoJSON Feature (#20320)
* Allow numeric ID on GeoJSON Feature

* Allowing numeric ID on GeoJSON features in d3-geo (after CI failure from changes to geojson typings)
2017-10-11 16:18:18 -07:00
Andy
ce93003d66 yog2-kernel: Fix strictFunctionTypes errors (#20376) 2017-10-11 16:17:36 -07:00
Andy
e042aa6ed4 d3-countour: Enable strictFunctionTypes (#20375) 2017-10-11 16:16:43 -07:00
CodeAnimal
153f7f5919 Add feedme 1.0.1 npm package type definitions (#20111)
* Add feedme 1.0.1 type definitions

* Remove types from tsconfig.json

* Add tslint.json

Correct issues raised by dtslint.

* Add CommonJs module import tests

* Remove `import * as ...` test case.

* Add "strictFunctionTypes" to tsconfig
2017-10-11 16:15:35 -07:00
Patrick Walsh
6b3463ec0c [mixpanel] Add time_event, people.union, and typedef for init config param (#20342)
* @types/mixpanel: Add 'time_event' and 'people.union' functions

* @types/mixpanel: Add typedef for mixpanel.init() library configuration
2017-10-11 16:14:12 -07:00
Tom Wanzek
b7d6b8d33f [d3-drag/d3-zoom] Update minor versions 1.2.1/1.6.0 (#20323)
* Minor Version  updates:
* [d3-drag] Added `touchable(...)` support
* [d3-drag] Bumped minor version to 1.2
* [d3-zoom] Added `touchable(...)` support
* [d3-zoom] Bumped minor version to 1.6

* d3
* Bump minor version to 4.11
2017-10-11 16:13:31 -07:00
Thomas Chia
53665b21cc [aws-iot-device-sdk] - Fix references to the mqtt types (#20344)
* Update index.d.ts

Fix mqtt type references.

* Make the tests compatible with noImplicitAny: true.

* Update version.

* Add package.json for mqtt type dependency.

* Remove mqtt in favour of original package definitions.

* Update notNeededPackages.

* Add private flag to package.json.

* Trigger travis

* Update subscribe options.

* Fix subscribe callback.
2017-10-11 16:12:54 -07:00