Commit Graph
67040 Commits
Author SHA1 Message Date
Tomasz Pluskiewicz bcfad61323 fix: stub out the Context class (#41961)
* fix: stub out the Context class

* fix: _context is actually an array

* fix: single term = single context
2020-01-30 13:05:38 -08:00
Rodrigo Saboya 4e24fd4188 [hapi__hapi] moving app to CommonRouteProperties (#41968) 2020-01-30 13:05:05 -08:00
Ștefan-Gabriel Muscalu 9436e05e57 [@types/hapi__joi]: Revert "implement validate value return types" (#41788) (#41976)
This reverts commit 636c69bb
2020-01-30 13:04:31 -08:00
Connor Fitzgerald 29ee60f8dc [swagger-stats] Make opts optional in getMiddleware (#41984)
* Allow undefined bind parameters

* Upgrading oracledbto 4.1

* Update version number

* Fix tsconfig typo

* Make opts optional for getMiddleware
2020-01-30 13:01:23 -08:00
Elizabeth Samuel 43be2f462e [office-js] [office-js-preview] (Outlook) Additional error on getAtta… (#41982)
* [office-js] [office-js-preview] (Outlook) Additional error on getAttachmentContentAsync

* Updates based on feedback
2020-01-30 12:57:13 -08:00
Hammad Jutt 649d81b915 Improve styled-system type safety by using generics for all properties (#41903)
* Improve styled-system type safety by using generics for all properties

This allows for type safety for values in a theme using generics (e.g. you wont be allowed to use breakpoints that arent defined in your theme), as well as being able to  use styled-system in Platforms like React Native where the valid values for CSS properties are different.

The generics have been set to the defaults they were before, so backwards compatibility is preserved, but now you have the power to customize the typings to be specific to the values in your theme.

* Bump TS version to 2.9 in styled-system

* Set minimum TS version to 3.0 in styled-system

* Fix BackgroundColorProps type in styled-system to use ThemeValue

* Update typings to be compatable with TS 2.9

* Fix type errors from theme-ui and rebass

* Fix linting errors in theme-ui and styled-system
2020-01-30 20:57:13 +01:00
Remco Haszing 21ff11349a Add types for serviceworker-webpack-plugin (#41914)
* Add types for serviceworker-webpack-plugin

These type definitions are for the injected code, not for the plugin itself.

* Finalize typings for serviceworker-webpack-plugin

Now also types have been exported for the Webpack plugin itself.

* Add generic option for ServiceWorkerWebpackPlugin

* Convert serviceworker-webpack-plugin default export to module.exports
2020-01-30 11:00:50 -08:00
Nickolay Kulikov 598594d850 add types for react-helmet-with-visor, fork of react-helmet with an a… (#41944)
* add types for react-helmet-with-visor, fork of react-helmet with an ability to inject SEO-like scripts at runtime.

* remove linting suppressions

* fix types errors I could see from Azure pipeline

* fix forgotten semicolons
2020-01-30 10:55:34 -08:00
Kelvin ChuandEloy Durán e8899e3dd4 [react-native] Update Flatlist methods. (#41969)
* Update Flatlist methods.

* Update types/react-native/index.d.ts

Co-Authored-By: Eloy Durán <eloy.de.enige@gmail.com>

Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>
2020-01-30 16:12:46 +01:00
Jussi Kinnula 6f1f5c8b4f Add browser-or-node types (#41910) 2020-01-29 14:14:43 -08:00
Eric Wang 6127fb8e61 Add class property to html webpack plugin (#41831)
* Add class property to html webpack plugin

* .

* fix ci
2020-01-29 14:14:27 -08:00
tomer-openfin 818a143c84 Adding OpenFin Platform and View APIs coverege (#41959)
* init

* removing files

* removing other_files

* reverting typescript version

* fd

* revert

* ver bump

* root

* tsconfig fix

* testing something

* reverting

* adding views

* imports

* adding a file to other_files

*  fixing other_files

* adding platform to other_files

* adding entity-type file to other_files

* fixing v45 version #

* adding view tests

* new line
2020-01-29 13:58:54 -08:00
Elizabeth Samuel 2e49fc5436 [office-js] [office-js-preview] (Outlook) UserProfile.timeZone is in Windows format (#41954) 2020-01-29 13:54:56 -08:00
jasonvideoblocks b263fdcda8 [braintree] Move webhook notifications to their own types (#41922)
* Adds account updater webhook fields

* Create WebhookNotification subclasses

* Use x as T syntax
2020-01-29 13:51:33 -08:00
Kent C. Dodds fa411e40a2 @types/testing-library__cypress: Set cypress version range to be very generous so users do not download two cypress versions (#41917)
* Make cypress a peerDep so we do not download two

* change cypress to devDeps

* remove dependencies

* set cypress as a dependency with a generous range
2020-01-29 13:50:59 -08:00
Luigi Pinca c7fb197a53 Fix ws type definitions (#41905)
* Make `url.URL` a valid type for the `address` parameter

* Fix `this` type on server event listeners
2020-01-29 13:48:55 -08:00
Robert Moura 493004fbee fix(d3-transition): fix selection interrupt interface (#41928) 2020-01-29 13:48:17 -08:00
Janis Koehr 82cee80652 Added missing __webpack_nonce__ declaration to webpack-env package. (#41908)
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2020-01-29 13:47:51 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 8e664d3d05 fix(karma): missing restartOnFileChange (#41899)
This adds missing configuration property.

Thanks!
2020-01-29 13:47:07 -08:00
Michael Lumish 5884738a37 http2: Add protocol option to http2.connect (#41931) 2020-01-29 13:46:10 -08:00
Simen Bekkhus 57dd2620f4 chore: use pretty-format types directly in jest typings (#41895) 2020-01-29 13:45:40 -08:00
Alexander Pepper c4b6c8f6c3 [cli-progress] increment can be called without parameters. (#41945)
> Increases the current progress value by a specified amount (default +1). Update payload optionally

Source: https://www.npmjs.com/package/cli-progress#increment
2020-01-29 13:44:52 -08:00
Luke Page 31cfe25179 Mocha: Add string for timeout option (#41941)
* Mocha: Allow string as a timeout option

Source:
https://github.com/mochajs/mocha/blob/master/lib/mocha.js#L90

* Update mocha-tests.ts
2020-01-29 13:44:11 -08:00
Matthias Kunnen 4050a5c08c [node-mailjet] Add options param to get and put (#41836)
See:
get https://github.com/mailjet/mailjet-apiv3-nodejs/blob/2166e4ba457d3c136bb06351728c057649aeb01d/mailjet-client.js#L508
put https://github.com/mailjet/mailjet-apiv3-nodejs/blob/2166e4ba457d3c136bb06351728c057649aeb01d/mailjet-client.js#L530

See _To add, edit or update the data saved for a specific contact_
<https://dev.mailjet.com/email/guides/contact-management/>.
2020-01-29 13:43:32 -08:00
Anton Rieder 66eff04f92 [list.js] Add alphabet option (#41952)
See: https://listjs.com/api/#sort
2020-01-29 13:42:40 -08:00
Qingqi Shi bbe645a3a4 [react-jsonschema-form] Update types to support 1.7 (#41956)
https://github.com/rjsf-team/react-jsonschema-form/releases/tag/v1.7.0
2020-01-29 13:41:41 -08:00
Luke Page e7117e9018 mocha: Add constants to Suite and Runner (#41942)
* Add constants to mocha

* make new properties readonly
2020-01-29 13:40:37 -08:00
Piotr Błażejewicz (Peter Blazejewicz) f1558039cd update(webpack-node-externals): white list option refined (#41925)
This adds support for filter-like function for white-listing modules as
per existing documentation:
https://github.com/liady/webpack-node-externals#optionswhitelist-

- definition change
- tests updated

Thanks!
2020-01-29 11:04:17 -08:00
Rebecca Turner acb2f1d101 [cheerio] Remove my name from the contributors (#41930)
Given that `@types/cheerio` is [being used by Palantir to attempt genocide](https://icebreaker.dev/), I don't feel comfortable being listed as a contributor. Remove my name from the list of authors.
2020-01-29 11:00:56 -08:00
Alex Jerabek 68d3f91e1f [office-js, office-js-preview] Updating with the latest content from the CDN (#41923)
* Removing prompt verbage from selection binding options

* Latest Excel Release

* Preview Excel
2020-01-29 10:59:59 -08:00
Rebecca Turner b543fd634d [chai] Remove my name from the contributors (#41929)
Given that `@types/chai` is [being used by Palantir to attempt genocide](https://icebreaker.dev/), I don't feel comfortable being listed as a contributor. Remove my name from the list of authors.
2020-01-29 10:57:13 -08:00
breeze9527 541c70e340 Update non npm package type definition amap-js-api (#41934) 2020-01-29 10:56:15 -08:00
Sebastian Silbermann c5df2018a4 feat(dom-testing-library): Types for 6.12 (#41951)
* feat(screen): Add debug

* feat(fireEvent): Add popState

* feat(ByRole): Add queryFallbacks

* chore: Bump version
2020-01-29 10:38:10 -08:00
Alex Kessock 3e1e03d0d4 Don't require latest version of cypress to use the types in cypress-image-snapshot (#41921) 2020-01-28 14:04:08 -08:00
Ethan Resnick 1eca72805d feat(ioredis): make Command constructable (#41635)
* feat(ioredis): make Command constructable

* refactor(ioredis): use a class for Command

* fix(ioredis): keep backcompat
2020-01-28 13:05:29 -08:00
Piotr b1d745194b brainhubeu__react-carousel - slides: JSX.Element[] (#41770)
* brainhubeu__react-carousel - slides: any[]

* brainhubeu__react-carousel JSX.Element

* brainhubeu__react-carousel fix
2020-01-28 12:08:09 -08:00
Linus Unnebäck f2845d5e4f [uuid] Avoid depending on "node" typings (#41814) 2020-01-28 12:05:29 -08:00
Tomasz Pluskiewicz b1f277e1cd add @rdfjs/fetch-lite and @rdfjs/formats-common (#41679)
* feat: add @rdfjs/formats-common

* feat: add @rdfjs/fetch-lite

* combine with PR for formats-common

* update to latest rdf-js

* update to latest rdf-js
2020-01-28 12:04:45 -08:00
vytautas 0b811831be Update sjcl types to v1.0.8 (#41781)
* Add types for sjcl v1.0.8

* Standardize abbrev. cases, fix typo in Convenience

* Add a few more tests to sjcl

* Use union types instead of multiple overloads

* Run prettier across the files
2020-01-28 12:03:28 -08:00
Steve Holgado a5b1430bdb [react-dnd-multi-backend] Fixed HTMLtoTouch types location to match package directory structure (#41723)
* Fixed HTMLtoTouch types location to match directory structure of 'react-dnd-multi-backend'

* Added tests for CommonJS types file in 'react-dnd-multi-backend'

* Removed dependency from package.json
2020-01-28 11:54:07 -08:00
Julian Hundeloh 309414e1d8 fix: add missing isActionSynced (#41733) 2020-01-28 11:51:16 -08:00
Richard Wang e2324ab042 Add types for conditional (#41851)
* First draft

* Tweak spaces

* Add tests

* Expect void not undefined

* Expand callbacks, they can't be wrapped

* Fix test Compile error in typescript@3.6 but not in typescript@3.7

* Fix strict-export-declare-modifiers

* Try and retrigger build checks
2020-01-28 11:50:54 -08:00
Sebastian Krüger 8b47c5ddd1 create types for docx-templates (#41901)
* create types for docx-templates

* Fix async await bug

* linting, fixing
2020-01-28 11:46:25 -08:00
Mathias Vestergaardandekfn e7714a439e Revert "yup: required is not nullable (#41789)" (#41890)
This reverts commit 0a32b87d14.

Co-authored-by: ekfn <yarkiev.bulat@yandex.ru>
2020-01-28 11:35:55 -08:00
Colin Ulin f18eee4a31 fix(stripe): add off_session and default_payment_method to ISubscriptionCustCreationOptions (#41911) 2020-01-28 11:31:59 -08:00
JayAndCatchFire 4a6881a986 Add missing field to types/node ReadLineOptions interface (#41849)
* Add `escapeCodeTimeout` to node v10

* Add `escapeCodeTimeout` to node v11

* Add `escapeCodeTimeout` to node v12

* Add `escapeCodeTimeout` to node latest
2020-01-28 11:31:35 -08:00
Teodor 0a815f458b Mongoose: Add database name, host and port to ConnectionBase (#41833)
* Add database name, host and port to ConnectionBase

* Add tests to vaildate parameter types
2020-01-28 11:26:32 -08:00
leedavidcs c46a8034a6 mongoose: Add isValidObjectId from 5.7.12 (#41865)
* mongoose: Add `isValidObjectId` from 5.7.12

* Update version in header (line 1) from 5.5.10 to 5.7.12
2020-01-28 11:25:00 -08:00
Philippe Schommers 94c12676f4 Add numbered keys to dlv (#41907) 2020-01-28 11:24:28 -08:00
하도영 de18e9f6ee add missing func def (#41904) 2020-01-28 11:22:08 -08:00