Commit Graph
62748 Commits
Author SHA1 Message Date
Kerminate 9286ec2fcd Add Chinese README. (#35941)
* feat: create README.cn.md

* chore: add Chinese README
2019-06-04 13:35:09 -07:00
Kamforka dfa678e143 Add format property to logger options (#35924)
* Add format property to logger options

* Add tests for format property
2019-06-04 13:12:42 -07:00
Victor Gaudard 257fb84ce2 [stripe-v3] Update Stripe interface for new APIs (#35807)
* [stripe-v3] Update Stripe interface

* Add methods for new APIs:
    - PaymentMethod
    - Checkout
    - PaymentIntent

* [stripe-v3] Use named type instead of union type

* [stripe-v3] Update and fix tests to use stripe v3

* [stripe-v3] Add tests for new API and fix  some types

* [stripe-v3] Remove unnecessary reference
2019-06-04 13:11:10 -07:00
m-b-davis 3e7758937b Update FieldArray to type custom field arrays correctly (#35723) 2019-06-04 13:09:52 -07:00
Sergio Arbeo 1bc579b8e7 Improve MetadataType definition in @types/chromecast-caf-receiver (#35929)
* Improve MetadataType definition.

According to [documentation,
MetadataType](https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.messages#.MetadataType)
is a number, not a string.

* Remove import
2019-06-04 13:09:35 -07:00
BHARGAB 230fe446e2 Added ideal of server side source creation (#35936)
Type defination for ideal server side source creation is missing
2019-06-04 13:04:36 -07:00
Desmond Koh 932108dd26 Yup: Handle multiple dependent keys (#35885)
* Updated @feathersjs/socket-commons

* Fixed linting errors.

* Added type definitions for hook-less service methods.

* Revert "Added type definitions for hook-less service methods."

This reverts commit 14e8062a57f68b7c338ee092fb3e5cfea9e6f226.

See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/34684

* Improved service typings.

* Fixed tests.

* Fixed lint.

* Fixed typo.

* fix: Handle multiple dependent keys

* Updated header

* fix lint errors

* fix lint errors
2019-06-04 11:32:16 -07:00
Max Stoiber 6d20eb981d Add support for CSS objects to the styled-components CSS prop (#35774)
* Add support for CSS objects to the styled-components CSS prop

This is valid styled-components code, but TypeScript throws an error:

```JS
<div css={{ color: 'blue' }} />
```

* Uncomment test for objects in css prop
2019-06-04 11:30:41 -07:00
Yago Tomé 4412049ea6 Fix Parse Object types (#35894)
* Fix ParseObject types of @types/parse

* Add myself to "Definitions by" section

* Change all false boolean types to false type

All occurrences of `this | boolean` in `Parse.Object` was acctually `this | false`
2019-06-04 11:28:42 -07:00
Christian Murphy 6c9328fbf3 @storybook/html: add support for stories generated by dom elements (#35947) 2019-06-04 11:22:05 -07:00
Konstantin bf0310e305 [two.js] Update 'Object' type and 'distanceToSquared' method typo (#35914)
* Update index.d.ts

* Update index.d.ts

* Update two.js-tests.ts

* Update two.js-tests.ts

* Update two.js-tests.ts

* Update two.js-tests.ts
2019-06-04 11:18:40 -07:00
Ron Buckton fb623cb9bb Fix 'co' for strict generators (#35937) 2019-06-04 11:02:36 -07:00
Derek Sifford 18b549ebcd [@wordpress/i18n] add new definitions (#35908)
* [@wordpress/i18n] add new definitions

* fix lint warnings
2019-06-03 17:56:45 -07:00
Derek Sifford 063fc9d608 [@wordpress/html-entities] add new definitions (#35879) 2019-06-03 17:53:00 -07:00
Derek Sifford 05a805867b [@wordpress/dom-ready] add new definitions (#35878)
* [@wordpress/dom-ready] add new definitions

* remove typescript version constraint since this is a simple module
2019-06-03 17:46:25 -07:00
Derek Sifford b89e93cc18 [@wordpress/url] add new definitions (#35876) 2019-06-03 17:44:24 -07:00
Derek Sifford 9671f1554e [@wordpress/keycodes] add new definitions (#35909)
* [@wordpress/keycodes] add new definitions

* add typescript version constraint
2019-06-03 17:42:50 -07:00
Simon Childs 50679d1e58 Update types for tedious authentication (#35777)
* update-tedious-authentication - included type definitions for the authentication connection options

* update-tedious-authentication - updated test

* update-tedious-authentication - removed deprecated properties and incremented major version number

* update-tedious-authentication - fixed failing test in dependent project

* update-tedious-authentication - fixed linting issue
2019-06-03 17:34:00 -07:00
Oleg Vaskevich 3fcd5a3beb Export ancillary types from node-memwatch (#35799) 2019-06-03 17:31:15 -07:00
Christopher Blanchard 34e10f5300 fix(mongoose): Export connections (#35884)
mongoose module does not export connections [mongoose.connections](https://mongoosejs.com/docs/api.html#mongoose_Mongoose-connections)

Fixes #32746
2019-06-03 16:46:32 -07:00
Andrew Luca 4f67985026 feat(redux-form): infer field name and type in InjectedFormProps (#35918) 2019-06-03 16:41:18 -07:00
Flexmonster Pivot Table 2fdfb426a3 Updates for 2.7.7 (#35919)
* Added options.chart.axisShortNumberFormat

* validateFormulas option in Flexmonster

* new option properties were added

showFieldListSearch
strictDataTypes

* Added ContextMenuItem.class

* ExportOptions.fontUrl

* Options.caseSensitiveMembers
2019-06-03 16:37:09 -07:00
Igor Savin 001ee994e3 [@types/pino] Document new config option (#35757)
* Document new config option (implemented in https://github.com/pinojs/pino-pretty/pull/67)

* Fix indentation to be consistent
2019-06-03 16:36:08 -07:00
Kwok Chi Leong 12207c4a9d [@types/store] Fixed a typo of a store plugin (#35882) 2019-06-03 16:35:27 -07:00
Julian Waller eb57a8c2ee fix: node-hid setDriverType signature (#35857) 2019-06-03 16:34:59 -07:00
Alex Sherwin 8e1fabf708 fixed the extract fn return type to be Extract (#35843) 2019-06-03 16:33:26 -07:00
Grimmer 1cdaa0a699 Fix wrong type definition on lean function parameter (#35916)
* Fix wrong type definition on lean function parameter

* Update the parameter type in lean function
2019-06-03 16:30:55 -07:00
Jianrong Yu 2605bf19cb Update definitions of sanitize-html from 1.18.2 to 1.20.1 (#35873) 2019-06-03 16:30:10 -07:00
MikeJerred 558f693059 [@types/nodegit] Fix rev-walk sorting function to take a variable number of arguments (#35888) 2019-06-03 16:13:53 -07:00
Christian Wesselhoeft f64bd8939f phoenix: Remove dtslint overrides and improve types (#35763)
* phoenix/index.d.ts: Remove dtslint overrides

* phoenix/index.d.ts: Remove top-level module

* phoenix/index.d.ts: Improve types

* phoenix/index.d.ts: Wrap attributions
2019-06-03 16:03:37 -07:00
Jeremy John 588c5b8136 Allow passage of any props to material component through TextValidator (#35926) 2019-06-03 10:57:18 -07:00
Henrik Raitasola 143766a75b [detox] Add two missing parameters to scroll (#35856)
* Add two missing parameters to scroll
Parameters are documented here
https://github.com/wix/Detox/blob/master/docs/APIRef.ActionsOnElement.md#scrollpixels-direction-startpositionxnan-startpositionynan

* Format
2019-06-03 10:56:09 -07:00
Nathan Shively-Sanders 4b3340c732 More feathersjs cleanup (#35928) 2019-06-03 09:22:13 -07:00
TypeScript Bot 8b3062f59e Update CODEOWNERS (#35897) 2019-06-03 08:44:25 -07:00
Michael Mitchell 21e68259f6 [nprogress] bring up to current standards (#35862)
Redos the definitions
Exports options interface
Lint
Clean up tests
2019-05-31 14:24:02 -07:00
Andy Hopper ac3f9f5cf9 Added amazon-connect-streams from v1.3 (#35752)
* Added amazon-connect-streams from v1.3

* Updated Project header to URL for Amazon Connect Streams

* Set strictNullChecks to 'true'
2019-05-31 12:54:22 -07:00
Andres Kalle faf9d85ea2 mongodb: added type parameters to some aggregation methods (#35863) 2019-05-31 11:47:19 -07:00
Dmitry A. Efimenko d1f694fa3a jasmine-given: make done arg non-optional (#35842)
* jasmine-given: make done arg non-optional

* simplify signature

* fix readability for authors

* clean up parentesis
2019-05-31 11:33:58 -07:00
Nathan Shively-Sanders 06c371e17c Cleanup 2019-05-31 (#35868)
* Cleanup 2019-05-31

1. Downstream lint rule failure now only caught overnight.
2. update intl-relativeformat project url to monorepo url.

* Require 2.8 for all featherjs packages
2019-05-31 10:44:13 -07:00
BHARGAB a661f1c7bd Change Parameter of CreateSubscripion (#35865)
change parameter of  CreateSubscripion.
from `source` to `default_source`
reference 
[Stripe API Reference : Create a subscription](https://stripe.com/docs/api/subscriptions/create)
2019-05-31 10:42:34 -07:00
Grant Timmerman dcb04cab79 [@types/google-apps-script] Fix generic object types (#35869) 2019-05-31 10:42:12 -07:00
Daniel Cassidy 3606a1504c sax: Various improvements (#35861)
* sax: Mark arguments optional.

"strict" and "opt" arguments are optional when creating a parser or
stream.

* sax: Add event overloads for SAXStream

* sax: Enable as many tslint rules as possible.

* sax: Fix header to conform to dt-header lint rule

* sax: Fix violations of no-consecutive-blank-lines

* sax: Fix violations of only-arrow-functions

* sax: Fix violations of prefer-const

* sax: Fix violations of strict-export-declare-modifiers

* sax: Fix violations of unified-signatures

* sax: Add self to authors

* sax: Add "this" types to event handlers

* sax: Add tests for stream events

* sax: Add tests for optional parameters

* sax: Update version number

* sax: Add trailing newline
2019-05-31 10:01:36 -07:00
Stadly eb5d7c6818 Type definitions for spotify-web-api-node (#35851) 2019-05-31 09:55:33 -07:00
Mojtaba Izadmehr 56bf14f01f [@rc-slider] Add types for reverse prop (#35653)
* [@rc-slider] Add types for reverse prop

* linting fix
2019-05-31 09:54:36 -07:00
Simon Schick 47bce5e74f fix(hapi): use correct interface for route settings (#35867) 2019-05-31 09:47:02 -07:00
Freddy Harris 8fe95e40a3 conformToMask mask param can be a function (#35859)
The `mask` param of the `conformToMask ` function can, like in `MaskedInputProps` be a function.

https://github.com/text-mask/text-mask/blob/master/core/src/conformToMask.js#L15
2019-05-31 09:40:30 -07:00
tiger-seo 7891596585 jira-client -- fix addWorklog method (#35855)
third argument newEstimate is actually optional
2019-05-31 09:40:08 -07:00
Alexander Ivanov 87c71253ec [types/google-apps-script] Adding Types manually (#35646)
* Add Google Apps Script HTTP Events definitions

* Updates & Lint the test file

* Fix a type. Formatting

* Specifying gaps

* Removing formatting on the current iteration

Signed-off-by: Alexander Ivanov <oshli.a.er@gmail.com>
2019-05-31 09:34:54 -07:00
Alex Jerabek a3acde4626 Update Event.completed to use an options type (#35846) 2019-05-31 09:08:43 -07:00
Simon Schick 5c3f528eb7 fix(hapi): make the auth settings property a separate type on routes (#35850) 2019-05-31 08:55:34 -07:00