Commit Graph
48002 Commits
Author SHA1 Message Date
Daniel Montesinos 4416b164dc added begin function 2018-08-29 12:50:15 +02: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
Michal Zochowski e037e4212e Add type definitions for @webscopeio/react-textarea-autocomplete (#27535)
* Add types for @webscopeio/react-textarea-autocomplete

* Fixes for lint
2018-07-24 09:04:51 -07:00
MateuszSapielakGSI 478ef05b4f OpenLayers - allow null in setStyle() (#27485)
* Update index.d.ts

allow null as per method description

* update setStyle for layers and add a test
2018-07-24 09:03:10 -07:00
Roland Groza c081a1380d feat(json-schema): add types for draft 07 (#27493)
* feat(json-schema): add types for draft 07

* fix(json-schema): add $comment property to JSONSchema7
2018-07-24 09:02:49 -07:00
Andy a2a659c351 Lodash: Update to typescript@2.6 (#27510) 2018-07-23 16:12:20 -07:00
Sergei Butko 6ddd9ea45d Add DrawerNavigationState (#27512) 2018-07-23 15:49:52 -07:00
Andy 470c00e395 registry-auth-token: Fix --strictNullChecks (#27499) 2018-07-23 15:49:23 -07:00
Sergei Butko dcd9338caa Add NavigationPushAction into NavigationStackAction type (#27511) 2018-07-23 12:23:18 -07:00
Olegs Jeremejevs 06fe69973a bdfjs: Initial commit (#27507) 2018-07-23 12:21:30 -07:00
Mike North a2e4f5b348 Ember.Application and Ember.EngineInstance.boot are public (#27504) 2018-07-23 12:18:16 -07:00
Olegs Jeremejevs 4230539c0e electron-unhandled: Initial commit (#27503) 2018-07-23 12:17:32 -07:00
Futa Ogawa ef3af58809 [@types/google-cloud__datastore] Fix optional constructor (#27500)
* google-cloud__storage / Fix optional constructor.

* google-cloud__datastore / Fix optional constructor.
2018-07-23 12:16:49 -07:00
Alex Jerabek 378f800625 Adding run overloads and eventproperties (#27505) 2018-07-23 12:06:33 -07:00
Olegs Jeremejevs fa7a253072 webpack: Add missing properties in Stats and Compilation (#27497) 2018-07-23 20:04:40 +01:00
Kenneth Luján Rosas 572f8b02ec [numeral]: add missing types for localeData (#27467) 2018-07-23 12:02:22 -07:00
Andy 39700ffbb8 webpack-merge: Remove unnecessary 'lodash' dependency (#27451) 2018-07-23 11:49:00 -07:00