Commit Graph
62765 Commits
Author SHA1 Message Date
Max Chehab 23c358593e @types/airtable Added constructor definition. (#35957)
* Added constructor definition.

* Added constructor definition.
* Added constructor parameter definition as `AirtableOptions`.

* Update index.d.ts

add `requestTimeout: number` to `AirtableOptions`.
2019-06-05 11:10:12 -07:00
Denis Demchenko 9f076daf85 Make Google Analytics support correct types for _gaq.push() (#35962)
It seems that `_gaq.push` can accept not only strings, but boolean
and numbers as well. This commit fixes the types declarations for it
according to the documentation:
https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiEventTracking#_trackevent
2019-06-05 11:08:14 -07:00
Ghostium 4d8103200e [node] Add TLSv1.3 (#35960) 2019-06-05 11:06:37 -07:00
Jeroen Claassens e253d335c1 Added typings for gulp-terser (#35904)
Not much going on here since it imports all options from terser. Based
it losely on the pre-existing gulp-uglify and
webpack-terser-plugin typings as reference points

Signed-off-by: Jeroen Claassens <support@favware.tech>
2019-06-04 18:16:20 -07:00
Shogo Sensui 8cced78fff feat: enable to use those interfaces (#35764) 2019-06-04 18:08:20 -07:00
Jeff Held 23373557e1 [login-with-amazon] generate typings (#35887) 2019-06-04 17:21:15 -07:00
Daniel Cassidy 0248951641 empty-dir: Update types for empty-dir 2.0 (#35758) 2019-06-04 16:48:35 -07:00
Jakub Mikos 0cd0212b12 oembed-parser: More types fitting the oembed specification (#35811)
* More types fitting the oembed specification

* Removed patch version from header
2019-06-04 15:26:31 -07:00
Robert Worman 5b2c0f0f26 [forge-viewer]: Add missing impl and button defs (#35823)
* Add some missing Impl and Button defs

* Add missing semi
2019-06-04 15:23:12 -07:00
Simon Legner eb18ee12a3 leaflet-providers: fix options type (#35837) 2019-06-04 15:17:44 -07:00
Spencer Miskoviak 787bafe3f2 Add webpack-bugsnag-plugins types (#35931)
* Generate the types/webpack-bugsnag-plugins files

* Fill in the type definitions and tests

* Add a typescript version

* Decrease the TypeScript version to match webpack's
2019-06-04 14:59:22 -07:00
orblazer fc504cbb14 Fix return promise value (#35792) 2019-06-04 14:06:27 -07:00
Nathan Shively-Sanders d9fd6571d8 Add some packages and update 1 repo url (#35953)
Add
1. all-the-package-names
2. date-range-array
3. download-file-sync
4. node-wget-promise
5. random
6. stats-lite
2019-06-04 13:54:22 -07:00
Tomasz Kryśkiewicz e830c9b573 Minor react-intl types fixes (#35836)
* fix plural and relative prop types

* update react-intl contributors
2019-06-04 13:54:03 -07:00
Etienne 648b0be3cc [caolan/async] update definition file for version 3.0 (#35825)
* [caolan/async] update definition file for version 3.0

  - see https://github.com/caolan/async/issues/1651
        https://github.com/DefinitelyTyped/DefinitelyTyped/issues/35819

* add async version of drain/empty/saturated
2019-06-04 13:52:30 -07:00
Gady 5ddf047b2d [express] Add latest types for express.raw (#35787)
* Add express.raw type

* Add express.text type

* Don't use patch number
2019-06-04 13:44:11 -07:00
Adrian Hope-Bailie b334bed556 Add types for basicLightbox (#35935)
* Add types for basicLightbox

* Fix header

* Add strictFunctionTypes

* Fix linting errors

* Fix return type of instance.visible()
2019-06-04 13:38:41 -07:00
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