Commit Graph
64808 Commits
Author SHA1 Message Date
Mateus Andrade 1dc4eaa79e [react-native-share] adding filename type definition (#38646)
* chore(filename): adding filename type to rn-share

* chore(test): implementing test to share-single with filename

* feat(definitions-by): adding username to definitions on rn-share
2019-10-03 14:22:54 -07:00
Scott KidderandMike North 4131598ed6 [@types/ember] add ember__template (#38571)
* [@types/ember] add ember__template

* [@types/ember] move -private/handlebars into @ember/template

* [@types/ember] fix SafeString namespacing

Co-Authored-By: Mike North <michael.l.north@gmail.com>
2019-10-03 14:22:21 -07:00
Chad Elliott 45780f09bd correctly support options with Chance#n method (#38711)
* correctly support options with Chance#n method

* correctly support options with Chance#unique method

* correctly support options with Chance#unique method
2019-10-03 13:59:25 -07:00
Paulo Reis ea511606c9 Update type definitions for "faker" (#38742)
* Update faker.js types

* Undo style changes

* Undo style changes

* Fix random number and float types
2019-10-03 13:56:01 -07:00
Yonas Adiel 0e1c6adfe7 add optional includeMargin on qrcode.react definition (#38758)
* add optional includeMargin on qrcode.react definition

* update the version of qrcode.react that is supported

* remove patch version
2019-10-03 13:54:53 -07:00
Richard Ward def7bf7eba stripe: Updated IInvoice to be inline with current stripe documentation
* Updated IInvoice to be inline with current stripe documentation.
Added taxRate namespace

* Re-added removed items and marked them as deprecated and optional.
Fixed linting
2019-10-03 13:48:02 -07:00
Sascha Zarhuber 7de9b6a2c4 [nanoid] added missing declarations for v2.1 (#38806)
* feat(nanoid): added newly introduced file declarations

* feat(nanoid): added new files to tsconfig

* chore(nanoid): bumped version number
2019-10-03 13:45:12 -07:00
Ben Grynhaus 6b2892afc4 improve yesql types (#38763) 2019-10-03 13:39:56 -07:00
Christophe Coevoet 8a3c3e0fe7 Fix types for react-syntax-highligher (#38776)
Types were not properly updated for BC breaks between versions 9 and 10
of the package.
2019-10-03 13:36:07 -07:00
jcapinc d941503b4d Adding obvious types to from the result of FFProbe requests on fluent-ffmpeg (#38649)
* adding a ton of obvious fields to the ffprobe information

* adding tests, fixing issues uncovered by linter

* adding tests, fixing issues uncovered by linter

* I undoing some extra whitespace that the hooks are adding for some reason

* adding newline per linter demand
2019-10-03 13:35:28 -07:00
Dobes Vandermeer e05312e8cb [draft-js] RichTextEditorUtil nullable return types (#38852)
* handleKeyCommand may return null

Even some values of DraftEditorCommand may result in a null return
from handleKeyCommand, for example 'move-selection-to-start-of-block'.

* onBackspace, onDelete, and tryToRemoveBlockStyle may return null

These functions will return `null` if the selection is not collapsed.
2019-10-03 13:29:42 -07:00
Ben Lichtman ccd64ce329 [@types/node] use canonical type for stdin, stdout, stderr (#38826)
* use canonical type for stdin, stdout, stderr

* Add missing namespace

* Remove import types usage
2019-10-03 13:28:09 -07:00
Opher Shachar b095948b8a Align SearchOptions with implementation (#38817)
Align SearchOptions type definition with the implementation of `Client.prototype.search` as of ldapjs v1.0.2.
2019-10-03 13:26:25 -07:00
Olzhas Askar 5dc23d241a feat(testing-library__dom): add fireEvent.reset (#38829) 2019-10-03 13:25:45 -07:00
Renan Machado 46779ab94b [@entria/relay-experimental] Create new package (#38692)
* add @entria/relay-experimental package

* add fetchQuery

* add RelayEnvironmentProvider

* add useRelayEnvironment

* add useQuery

* improve tests for useQuery

* add useFragment

* add useRefetchableFragment

I also remove index imports from relay-runtime. Forget some from #38640

* add usePaginationFragment
2019-10-03 13:25:11 -07:00
Sosuke Suzuki 47b73a9a32 Add resolveConfigFile to Prettier (#38820) 2019-10-03 13:23:18 -07:00
Takuya Uehara 5086c8aec6 [chart.js] Use RadialLinearScale type for scale option (#38170)
* Use RadialLinearScale type for scale option

* Separate RadialLinearScale from LinearScale and added tests
2019-10-03 13:22:53 -07:00
Maurice de Beijer 1c48bda16b Update signature on unstable_scheduleCallback (#38801)
* Update signature on unstable_scheduleCallback

* Update test

* Update scheduler version

* Add optional timeout back to the options

* Added new test case for the optional delay
2019-10-03 13:22:10 -07:00
Marlene Koh b3949e05ae Add optional field 'expand' to SearchQuery, remove duplicate interface (#38845) 2019-10-03 13:21:02 -07:00
Nuno Maduro 578a764987 feat: condition, pattern, and anchoring are now optional within queries (#38844)
* [algoliasearch]: allow optional condition query rules

This is a change in the API, and was requested here https://github.com/algolia/algoliasearch-client-javascript/issues/775

* Update index.d.ts
2019-10-03 13:20:11 -07:00
Sascha Zarhuber 48d7231956 [react-sketchapp] excluded types into own file, added types for render.js (#38816)
* feat(react-sketchapp): excluded and enhanced types

* fix(react-sketchapp): fixed errors

* chore(react-sketchapp): version bump

* refactor(react-sketchapp): moved types file to same level as index and render

* fix(react-sketchapp): fixed function param
2019-10-03 10:00:08 -07:00
Matthieu Sieben 631db5d025 Remove myself from authors (#38839)
* Remove myself from authors

* Remove myself from authors

* Remove myself from authors
2019-10-03 09:34:29 -07:00
tu4mo d0cd7f859d [react-transition-group] Add types for config (#38770)
* [react-transition-group] Add types for config

* [react-transition-group] Add test for changing config
2019-10-02 15:29:24 -07:00
Daniel Beckwith d2f921c102 Add ExtensibleFilter (#38819) 2019-10-02 15:23:16 -07:00
today- c39ed51b6b [formol] Add types for "formol" package (#38754)
* [formol] Add types for formol package

* [formol] Add types for formol package. Fix TS dependency version
2019-10-02 15:15:55 -07:00
Yusuke Sakurai 2b36bdd43e [pdfjs-dist] add more accurate types (#38654)
* wip: add @createjs/core, @createjs/easeljs, @createjs/tweenjs

* fix: [pdfjs-dist] add more accurate types

* Revert "wip: add @createjs/core, @createjs/easeljs, @createjs/tweenjs"

This reverts commit f6638e3f937c377eb5bd340043008668e7ddb5e7.
2019-10-02 15:14:25 -07:00
Lukas van Driel 041e1646ac add toCommandJson to HystrixSSEStream (#38633) 2019-10-02 15:08:03 -07:00
VincentGuinaudeau 5a8bf56c3a [pdfkit] change all return type from 'TDocument' to 'this'. (#38655)
* pdfkit : change all return type from 'TDocument' to 'this'. This make the type definition work correctly on subclasses of PDFDocument.

* pdfkit : add test for subclassing.
2019-10-02 15:01:42 -07:00
Max Boguslavsky 0fa6cae6f2 Isomorphic form data (#38810)
* added type for isomorphic form data

* corrected dependencies

* corrected path

* corrected import

* fixed formatting
2019-10-02 15:01:13 -07:00
Max Boguslavsky 54d92f0f13 added type for jsdom-global (#38808)
* added jsdom-global

* fixed interface errors

* corrected path for existing typing

* fixed import; fixed export

* fixed version

* fixed tests

* upped version

* corrected version

* added package with ts version

* removed types

* reworked imports

* added type mappings

* fixed formatting
2019-10-02 15:00:40 -07:00
Gerry Surya 3771129ca0 [escpos] Create New Definition (#38698)
* escpos

* Constants to type

* Fix lint

* Fix
2019-10-02 14:59:16 -07:00
Dane Grant 313adf21ca [kiwicom__orbit-design-tokens] new typings (#38732)
* [kiwicom__orbit-design-tokens] new typings

* remove package json

* keep package json remove self ref

* remove pkg json and fix tsconfig
2019-10-02 14:53:51 -07:00
Matt Seccafien 326dcc2985 Add none to sameSite (#38618) 2019-10-02 14:52:36 -07:00
Khải faf941d13c Add clean function (#38621) 2019-10-02 14:48:32 -07:00
Martin Hochel 5c0bb53def [@types/eslint]: add missing extends to override config definition (#38601)
* [@types/eslint]: add missing extends to override config definition

* fixup! [@types/eslint]: add missing extends to override config definition
2019-10-02 14:48:00 -07:00
Max Boguslavsky 634abdf468 Added type for rollup-plugin-peer-deps-external package (#38722)
* added rollup-plugin-peer-deps-external

* fixed error

* fixed formatting

* returned back formatting

* fixed travis build
2019-10-02 14:44:53 -07:00
Max Boguslavsky 719ac21643 Feature/create hash update (#38567)
* updated signature for create Hash

* updated interface for create Hash

* updated credits

* reworked exports

* reworked exports

* fixed errors

* corrected signature

* corrected signature

* corrected signature

* rewrote definition to match both usages

* added semicolon
2019-10-02 14:43:42 -07:00
Sergey Bekrin 3c6fff8b33 fix(expect-puppeteer): update return type for toMatchElement (#38593)
This change aligns with [`toMatchElement`s API](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/expect-puppeteer#expectinstancetomatchelementselector-options) which resolves an `ElementHandle`.
2019-10-02 14:42:51 -07:00
Rich Hodgkins a92a16f2ac [@types/stripe] Correct setHttpAgent type (#38364)
* [stripe] Correct setHttpAgent type

* [stripe] Auto-format after commiting ad8fc1ec
2019-10-02 14:27:15 -07:00
Dmitrii Sorin 4a5cd9c56a Support silent function calls (#38531)
* Support silent function calls

NPM API commands support a second parameter which is boolean:

https://github.com/npm/cli/blob/latest/lib/view.js#L76
https://github.com/npm/cli/blob/latest/lib/ls.js#L33

* Update overload types for info command

* Revert "Support silent function calls"

This reverts commit 4d18bdc187ba836a6ecb37c5e530066c48066915.

* Update tests
2019-10-02 14:26:44 -07:00
Robert Bullen f00069b980 Adds to @types/gulp-zip the GulpZipOptions.modifiedTime option
* - change ObjectSchema<T>.shape() to ObjectSchema<T>.shape<U>()
- changed Schema.validate*() to accept any type
- made declaration of Ref more restrictive
- bumped definitions version

* Addressed PR feedback:
- refined `ObjectSchema.shape()` with `Shape<T, U>`
- added a few more test cases

* added `GulpZipOptions.modifiedTime`
2019-10-02 14:24:33 -07:00
Gonzalo Rodríguez f65c106396 Add getValue/setValue to CodeMirror.Editor (#38381) 2019-10-02 14:16:35 -07:00
Tanandara cda261b922 added 7zip-min (#38693) 2019-10-02 13:58:59 -07:00
Doug Ayers b11417df1c [@types/redlock] Update definitions for redlock v4.0 (#38705)
* move to v3 folder

* definitions for redlock v4.0

* add path to redlock v3

* add comments from redlock's source code
2019-10-02 13:58:32 -07:00
Dominik Rowicki 6d7624e50f Create definition for just-throttle (#38707)
* Create definition for just-throttle

* Use more specific URL for the project

* Improve comments in tests slightly
2019-10-02 13:56:23 -07:00
Michael Peyper 115ed66c06 Add types for @testing-library/react-hooks (#38715) 2019-10-02 13:53:38 -07:00
Sean Dawson 44b2e588df [@agiledigital/mule-preview] new typings (#38714) 2019-10-02 13:40:40 -07:00
Markus Tacker 3e698e4b98 feat(twemoji): add types (#38719) 2019-10-02 13:39:55 -07:00
Luís Rodrigues fd3952ba93 [elasticlunr] new typings (#38717) 2019-10-02 13:37:05 -07:00
Max Boguslavsky c9e2ebd317 Added types for oauth2-implicit package (#38725)
* added rollup-plugin-peer-deps-external

* fixed error

* added oauth2-implicit

* corrected formatting

* removed unused files

* corrected version
2019-10-02 13:36:30 -07:00