Commit Graph
48017 Commits
Author SHA1 Message Date
Jason Merino b178c7f6bb Add types for react-native-dialogflow (#27617)
* Add types for react-native-dialogflow

* Fix lint issues.

* Formatting changes.

* Lint again.
2018-07-26 11:55:28 -07:00
Richard Lea 7563e14289 Complete types on event listeners and the property getter (#27546)
* Update type usage in event listeners and property getters.

Signed-off-by: Richard Lea <chigix@zoho.com>

* Fix: logger type definition and lacking off method

Signed-off-by: Richard Lea <chigix@zoho.com>
2018-07-26 10:15:34 -07:00
headdetect 299b729072 Update chart.js/index.d.ts (#27575)
The `barThickness` can be `'flex'` as well. So we must be able to accept strings.
2018-07-26 10:09:20 -07:00
Santiago Aguilar Hernández 84009d1c24 Typings for 'server' package. (#27579)
* * Added typings for server package

* * Applied better practices
2018-07-26 10:09:02 -07:00
Elizabeth Samuel 9e5e4a7aef update description of parameters.attachments.itemid (#27581) 2018-07-26 10:08:02 -07:00
Jeff Principe 82a879a7d6 [agenda] Update types to version 2.0.0 (#27583) 2018-07-26 10:07:36 -07:00
Sean Kelley 7f8c0da7c0 Add visible field to plotly.js' ScatterData. (#27586) 2018-07-26 10:07:14 -07:00
Michael Zlatkovsky 7c6feb4be1 Add empty placeholder for host-specific powerpoint APIs (#27587)
* Add empty placeholder for host-specific powerpoint APIs
(for use with our d.ts publishing toolchain)

* Add extra separator
2018-07-26 10:06:39 -07:00
Sean Genabe ada007d85b Add typings for yoctodelay (#27592) 2018-07-26 10:05:37 -07:00
Kiyohiko Heima aa312002f4 Add @storybook/addon-centered types (#27594)
* Add storybook@addon-centered types

* Export default in angular.d.ts, mithril.d.ts
2018-07-26 10:05:10 -07:00
Clément c7b49aa65a [react-native-auth0] Add prompt value in AuthorizeParams (#27598)
* Add prompt value to AuthorizeParams

* Update test
2018-07-26 10:03:36 -07:00
Kalley Powell 33939351a4 [slate] Adds <start/end/anchor/focus>Inline properties to Value (#27607) 2018-07-26 10:03:08 -07:00
Daniel Schmidt 5473d6e683 add array-sort package (#27610) 2018-07-26 10:02:38 -07:00
Leonard Thieu a1fac17a1b [commondir] Add declarations for commondir. (#27612) 2018-07-26 10:01:35 -07:00
Alejandro Manuel Baronetti f777274f56 Updated Package.json to prevent redux-thunk 2.2.0 to be used (#27597)
Fix for pull request https://github.com/DefinitelyTyped/DefinitelyTyped/pull/27341
package.json was not updated and it will make projects fail for users who are using redux-thunk 2.2.0
2018-07-26 08:33:24 -07:00
Felix Rubio 6990103aa9 Chrome: Add optional property initiator on ResourceRequest (#27571)
* Add optional property initiator in ResourceRequest

* Add optional property initiator in ResourceRequest
2018-07-26 08:15:52 -07:00
e8wow 7e5916e188 refactor: Object.getBoundingRect has absoluteopt and calculateopt optional parameter (#27429) 2018-07-25 15:29:57 -07:00
Brian Crowell 75cb16b116 Couchbase: Lots of missing things from v2.4.5 SDK (#27457)
* couchbase: Fix Bucket key parameter types

Documentation says key type is string or Buffer, not any.

http://docs.couchbase.com/sdk-api/couchbase-node-client-2.4.5/Bucket.html

* couchbase: Add connect/error events to Bucket interface

* couchbase: Add optional properties for errors

"code" was not optional, but it is definitely not included on all errors.
I've added two more properties that I've seen in the couchbase source code.

* couchbase: Add enough features to get the front-page sample working

The first page of the couchbase documentation contains the code that is now
in couchbase-tests.ts (except that I've left out the underdocumented
cluster.authenticate() call). For this, I've added the index management
methods on the bucket manager interface as well as specific definitions
for the events on the query response interfaces.

* couchbase: Add authenticator API

It's marked "uncommitted," but it's in the main page sample, so...

* couchbase: Add the basic full-text search API

Needs some fixes to the Bucket query call, but that will be fixed here in a
bit.

* couchbase: Split query API, add SearchQuery + FtsQueryResponse.Meta props

Several important fixes.

* couchbase: Add FTS facet and sorting capabilities

* couchbase: Add more samples, make query callbacks optional

The samples force us to recognize that the query callbacks are optional.

* couchbase: Add version number and add me

Even though this doesn't cover everything in the latest SDK, that's the
version I based my changes on.
2018-07-25 14:27:30 -07:00
Moritz Gunz 8e5e7acab8 spotify-web-playback-sdk: Add not_ready event (#27566)
* Add not_ready event

* Reduce duplication in addListener / on methods

on is an alias for addListener, so there's no need to duplicate the typings.

* Reset version to 0.1
2018-07-25 14:26:26 -07:00
Neil Gentleman 9d267d6d68 [jexl] TransformFunction accepts multiple args (#27509)
* [jexl] TransformFunction accepts multiple args

The jexl documentation only has examples of zero- and one-argument
Transforms, but internally all args are passed through with
`Function#apply`.

* update addTransform jsdoc
2018-07-25 11:55:12 -07:00
Fabio Berta 645ffa2bf6 add types for @mapbox/geo-viewport (#27560) 2018-07-25 11:54:53 -07:00
Phil McCloghry-Laing 2ea1342b8f Add type definitions for @frctl/fractal (#27555) 2018-07-25 11:52:54 -07:00
Andy 4b61ed7aa2 url-parse: Expose types (#27553) 2018-07-25 11:50:54 -07:00
Danny Cochran 99b18f3c66 Add typings for react-request (#27376)
* add typings for react-request

* fix react-request types

* remove reference path

* try specifying a typescript version in index.d.ts

* pin to 2.9 instead of 2.9.2

* fix linting issues

* fix index.d.ts lint issues
2018-07-25 11:44:09 -07:00
Curtis Maddalozzo 24047dd61d Add types for almost-equal (#27573)
* Add types for almost-equal

* Add strictFunctionTypes to config

* Use number type for comparison args
2018-07-25 09:52:00 -07:00
jough b9b4346ae3 Fix tls typing from non-type "true" to boolean (#27551) 2018-07-25 09:50:03 -07:00
Max Rumpf 13143f8674 Fix return types for Db.wait() and Table.wait() (#27477) 2018-07-25 09:09:11 -07:00
Cristian Greco a1649b0020 Add types for 'parsecurrency' (#27565)
* Add types for parsecurrency

* Change export default to export =
2018-07-25 09:08:51 -07:00
HE Shi-Jun 91ae3e1c0e Add types for requestidlecallback API (#27568)
* add requestidlecallback

* satisfy linter, use tabs

* all tabs!
2018-07-25 09:08:03 -07:00
Scott cbf3ed6074 AES encrypt also allows word arrays (#27569)
the following code will execute fine, but typescript doesn't recognize it as valid

var input = CryptoJS.lib.WordArray.create(new Uint8Array(5));    
    var encrypted = CryptoJS.AES.encrypt(input, secretKeyString, {
      iv: CryptoJS.enc.Hex.parse('00000000000000000000000000000000'),
      mode: CryptoJS.mode.CBC,
      padding: CryptoJS.pad.Pkcs7
    });
2018-07-25 09:07:20 -07:00
Leonid Logvinov 74bb1da61c Add types for ganache-core (#27572) 2018-07-25 09:06:43 -07:00
Melvin Groenhoff 2a3696f7b4 Add types for @babel/{core,generator,parser,template,traverse} (#27433) 2018-07-25 09:03:53 -07:00
Jurand Niemczycki 0d17329314 espruino: added type for wifi module for access point (#27544)
* espruino added type for wifi module for access point

* espruino added myself to definitions

* changed tabsize to 4
2018-07-25 09:02:36 -07:00
Rick-Kirkham 7c8f1488d5 small correction in remark about dialog (#27550) 2018-07-24 17:59:47 -07:00
meta72 3f1257ab05 adds missing types and overloads for simple-mock v0.8.0; (#27533)
adds missing tests for simple-mock;
2018-07-24 11:50:42 -07:00
Jorge Gonzalez 3d328af508 Add types for which-pm@1.0 (#27543)
* Add types for which-pm@1.0

* Move reference types to which-pm-tests.ts
2018-07-24 11:24:45 -07:00
Derek Finlinson e92e94dc44 Change Xrm.Utility.lookupObjects to return array (#27539) 2018-07-24 10:38:26 -07:00
Ali Ijaz Sheikh 045d74baf3 [console-log-level] initial types (#27506)
* [console-log-level] initial types

* [squash] address review feedback

* [squash] export more types in namespace
2018-07-24 10:19:59 -07:00
Andy 1dc66757c0 gestalt: Use type aliases for number unions (#27508) 2018-07-24 10:18:14 -07:00
Alex Jerabek 4cd4a689b3 Adding missing hosts table to Bindings (#27516) 2018-07-24 10:16:07 -07:00
Troy Zarger 171ff2c377 Added customers.ICustomerListOptions to accurately implement stripe-node (#27517) 2018-07-24 10:15:22 -07:00
Florian Keller 211986a530 fix: bro-fs options and return types (#27521) 2018-07-24 10:14:37 -07:00
Cerberuser 45828fbb51 Cytoscape: type guards, stylesheet fix, mapping/filtering functions fix (#27523) 2018-07-24 10:13:48 -07:00
Fabio Berta 570b8c88b9 [viewport-mercator-project] initial types (#27532)
* add initial types for viewport-mercator-project

* fix lint errors

* improvements

* narrow down input type
2018-07-24 10:10:36 -07:00
sapphire 5a48b794f9 twit update Params (#27540) 2018-07-24 10:08:35 -07:00
Gerhard Stöbich 2bb44da669 [node] introduce TypedArray (#27387) 2018-07-24 10:08:06 -07:00
segayuu f4c5251199 Refactoring [@types/bluebird] (#27410)
* Define type Resolvable

* use type Extract

* fix ignore lint: max-line-length

* fix ignore lint error: no-unnecessary-generics

* enable strictNullChecks

* Apply review

* fix review

* fix review
2018-07-24 09:23:03 -07:00
J.C 4e4595695d Add new definition for project wegame-api (#27327)
* add wegame-api definition

* no need these files for DefinitelyTyped project

* add missing files

* add strictFunctionTypes check

* not allowed by DefinitelyTyped

* modify header according to DefinitelyTyped's standard

* remove OpenContextData test as this extra file is not allowed by DefinitelyTyped.

* remove files now allowed by DefinitelyTyped

* add noEmit to tsconfig.json

* fixed test errors

* fix errors, passed tslint test.
2018-07-24 09:21:08 -07:00
Daniele Coppolino 2aa31db3b6 Make node and edge interfaces inherit from their options (#27254)
Node and Edge interfaces should inherit from NodeOptions and EdgeOptions. These Options are meant to be global, so properties such as "id", "from" and "to" should exist only on Node and Edge interfaces. Plus, in this way it's possible to use all properties defined on parent interface.
2018-07-24 09:19:29 -07:00
Max e859a48538 stellar-sdk: added record and error data to CallBuilder stream callbacks (#27513) 2018-07-24 09:16:24 -07:00