Commit Graph
67447 Commits
Author SHA1 Message Date
Nathan Shively-Sanders 58f3f0e713 Call uncalled function in d3-selection tests (#42592)
typescript@next has better detection of boolean checks on uncalled
functions. This caught an error in d3-selection's tests.
2020-02-24 08:43:46 -08:00
Jesse Katsumata 98974cc1f6 react-native: add onAccessibilityEscape prop (#42562)
* react-native: add onAccessibilityEscape prop

* react-native: reorder props

* chore: apply lint to tests
2020-02-24 14:16:45 +01:00
Michael Mase e32d4f0292 [jquery]: add to AjaxSettingsBase (#42484) 2020-02-23 08:48:32 +00:00
Piotr Błażejewicz (Peter Blazejewicz) dea60ec84b feat(update-notifier): update to v4.1 (#42540)
- create v2 for compatibility
- update API according to release notes:
- `callback` option removed
- `fetchInfo` method added
- remove `checkNpm` method
- `boxenOptions` renamed
- `distTag` option added
- deprecate `packageName` and `packageVersion`
- enumerate update info types

Thanks!
2020-02-21 18:21:11 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 7da9c6129d feat(html-minifier-terser): type definition for v5 (#42553)
- definition files
- tests

https://danielruf.github.io/html-minifier-terser/
https://github.com/DanielRuf/html-minifier-terser/blob/master/README.md

Thanks!
2020-02-21 18:12:36 -08:00
Tiger Oakes b905dae55c Add es-module-lexer (#42556) 2020-02-21 18:10:47 -08:00
TypeScript Bot 7814cd5a78 Update CODEOWNERS (#42547) 2020-02-21 18:07:40 -08:00
Julius Lungys 22a48822fe Add definitions for apple-signin-api (#42454)
* Add definitions for apple-signin-api

* change signInResponse user to be optional
apple returns user object only on first login

* update to 1.4.1 version
2020-02-21 18:06:42 -08:00
Remco Haszing 9b9aed92fe Add types for @sinonjs/fake-timers (#42535) 2020-02-21 16:53:25 -08:00
Piotr Błażejewicz (Peter Blazejewicz) a0ae0414e9 feat(mini-html-webpack-plugin): definition for v2.2 (#42530)
- type definitions
- tests

https://github.com/styleguidist/mini-html-webpack-plugin#readme
https://www.npmjs.com/package/mini-html-webpack-plugin

Thanks!
2020-02-21 16:51:58 -08:00
ExE Boss 3dee137d82 fix(mocha‑sugar‑free): Correct Options type (#42532) 2020-02-21 12:12:43 -08:00
Avery Fay d0cae85700 register must be a function (use Plugin type from @hapi/hapi for consistency) (#42402) 2020-02-21 12:06:11 -08:00
Ryan Morris a0baa6bde3 [@types/leaflet.gridlayer.googlemutant] add GoogleLayer methods to GoogleMutant interface (#42389)
* addGoogleLayer and removeGoogleLayer

* prettier
2020-02-21 12:03:09 -08:00
mishka251 13a134561d Fixed flowjs ts3.1 event handlers types and TS2306 error (#42470)
* fix typo/copy-paste error in flowjs

* Fix Error TS2306 ("flowjs/index.d.ts not a module") in flowjs/ts3.1

* fix linter
2020-02-21 11:53:42 -08:00
Simon Buchan 1833099f50 [aws-lambda] Add protocol to APIGatewayRequestContext. (#42419)
Fixes #42049.

No decent docs from AWS for the actual proxy integration, on the
Lambda side or the API Gateway side, but there's an approximation on
the API Gateway docs for the VTL $context variable:

https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference

From experimentation, not all of the variables referenced above exist,
at least most of the time, but everything except the `protocol` that
was present in what I received already existed.
2020-02-21 11:42:57 -08:00
Michael Adams 4376032d36 [plotly.js] - Fix Gauge chart optional parameters. (#42384) 2020-02-21 11:39:53 -08:00
Vladimir Kartaviy 39af108fa1 [@types/tryghost__content-api] Incorrect browse function param "filters" (#42526) 2020-02-21 11:35:24 -08:00
Chris Krycho 2dc6d2699d @ember/routing: correct types for transitionTo (#42544)
- add types to support query-params-only transitions in both the `Route`
  and `RouterService` classes
- supply updated docs for each API as well
2020-02-21 11:30:36 -08:00
Samatar b481f65c6d Add path to SVGAttributes (#42404) 2020-02-21 11:29:20 -08:00
Bat-OrshikhandDmitry Demensky 7dcb0497d7 added missing static methods type for OverlayView class in @types/googlemaps (#42523)
* added missing static method types for OverlayView class in @types/googlemaps

* Update types/googlemaps/index.d.ts

formatting the document syntax

Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>

* Update types/googlemaps/index.d.ts

formatting the document syntax

Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>

Co-authored-by: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
2020-02-21 11:14:23 -08:00
Dhruv Jain 78a1d89e81 fix[styled-system] - replace missing OpacityProperty with GlobalsNumber (#42509) 2020-02-21 11:13:01 -08:00
Yu SiCheng 04840cc30f feat: Support 3.0.1 (#42497) 2020-02-21 11:11:49 -08:00
Qingqi Shi 5b7d1c0375 [react-jsonschema-form] Add missing utils (#42511) 2020-02-21 11:09:29 -08:00
Tomasz Pluskiewicz bc2379577e fix: add missing interface (#42525) 2020-02-21 11:07:46 -08:00
Maciej Goszczycki b8f4f8a0c8 Update styled-components to 5.0 (#42415)
* [styled-components] Add the new StyleSheetManager props

* [styled-components] Remove the subfunction attrs overload

* [styled-components] Add the useTheme hook
2020-02-20 16:32:05 -08:00
Daniyar Alymkulov c6db22c547 fix SortByFn type (#42510)
* fix SortByFn type

Added boolean for sort order.

* Made new parameter optional
2020-02-20 15:41:49 -08:00
Elizabeth Samuel 35585771df [office-js] [office-js-preview] (Outlook) Update AttachmentDetails.name description (#42486) 2020-02-20 15:31:15 -08:00
Oladiran Segun Solomon ff1c01f39c Wrote paystack declaration file (#42441) 2020-02-20 15:21:30 -08:00
Remco Haszing a7b2dc4407 Add types for bulma-calendar (#42478)
* Add types for bulma-calendar

* Process feedback
2020-02-20 14:50:51 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 1a12a00cbd feat(webpack-concat-plugin): type definition for v3.0 (#42507)
- type definition
- tests

https://github.com/hxlniada/webpack-concat-plugin#readme

Thanks!
2020-02-20 14:43:54 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 7bc0313bb2 feat(json-schema-traverse): type definitions for v0.4 (#42488)
- type definitions
- tests

https://github.com/epoberezkin/json-schema-traverse#usage

Thanks!
2020-02-20 14:40:59 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 0a07cb89a2 feat(webpack-error-notification): definition files (#42517)
- type definitions
- tests

https://github.com/vsolovyov/webpack-error-notification#usage

Thanks!
2020-02-20 14:25:05 -08:00
coyoteecd 14ce63d3bf [jasmine] fix throwError to accept Error in TypeScript >=3.1 (#42479) 2020-02-20 12:45:48 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 2e24b340b9 feat(cuss): type definitions for cuss v1.18 (#42463)
- type definitions
- tests

https://github.com/words/cuss#api

Thanks!
2020-02-20 12:37:31 -08:00
Christopher Carman fcd2e522f6 fix(defaults): Limit function definition to module scope (#42261) 2020-02-20 11:27:03 -08:00
Hyun 8f61ed7121 Create type for [react-native-material-menu] (#42453)
* Create type for react-native-material-menu

* add DT header

* add DT header

*  Prettier changes
2020-02-20 11:08:00 -08:00
Jordan Adams 56a540b7fc Adds @types/cfenv (#42503)
* adds types for cfenv

* changes AppEnv from exported class to interface
2020-02-20 11:02:47 -08:00
Reynaldo Pena 5309ec5061 Use generic to allow use of a class as view model. Knockout (#42493)
* Use generic to allow use of a class as view model

* Update to use PascalCase

* Use generic instead of the type
2020-02-20 10:42:12 -08:00
Connor Love 6329ff7de1 [rate-limit-redis] should use constructor instead of function (#42496) 2020-02-20 10:40:24 -08:00
Piotr Błażejewicz (Peter Blazejewicz) bb7ebc74bc feat(mini-css-extract-plugin): missing moduleFilename option (#42505)
- update type definition with missig `moduleFilename` option
- update tests
- minor code cleanup via Prettier

https://github.com/webpack-contrib/mini-css-extract-plugin#module-filename-option

Thanks!
2020-02-20 10:39:13 -08:00
Sudhi Ramamurthy 9b5e16de59 Background add-in and ribbon APIs (#42466)
* New Office-js APIs addin and ribbon

* Format fixes for addin and ribbon

* Format fixes for addin and ribbon (2)

* Format fixes for addin and ribbon (3)

* Format fixes for addin and ribbon (4)

* MD formatting for a method name in comment

* Comment changes
2020-02-20 10:37:24 -08:00
Felix Hessenberger 8d64d8cd4e [@types/react-big-calendar] Add dayLayoutAlgorithm property added in https://github.com/jquense/react-big-calendar/pull/1473 , add slotGroupPropGetter added in https://github.com/jquense/react-big-calendar/pull/1510 , constrain Culture type to string instead of string | string[] (#42388) 2020-02-20 10:30:09 -08:00
Jan Potoms 4fccaa038e Add missing return types for babel__traverse unshiftContainer and replaceWithMultiple (#42407)
* Add missing return types

* try this

* Fix test

* babel core depends on babel traverse

* increase ts version on plugin-macros

* this should be the last one depending on babel/traverse

* try a rerun

* trigger a rerun
2020-02-20 10:25:41 -08:00
Remco Haszing 007b40797f Fix return type of serviceworker-webpack-plugin register() (#42513)
It has an inconsistent API. It returns false if `navigator.serviceWorker` is undefined.

TSdoc was added to clarify this quirk.
2020-02-20 10:16:45 -08:00
Ryan Fahsel f56a1c3594 Add types for object-mapper (#42495) 2020-02-19 17:31:20 -08:00
ExE Boss 75ad8d682d feat: Add types for mocha‑sugar‑free (#42469)
* feat: Add types for `mocha‑sugar‑free`

* fix(mocha‑sugar‑free): Fix TSLint failures

* fix(mocha‑sugar‑free): Fix TSLint failures
2020-02-19 16:54:30 -08:00
Piotr Błażejewicz (Peter Blazejewicz) e58808feaf feat(karma-mocha-reporter): definition for v2.2 (#42382)
- definition for Mocha reporter for Karma
- tests

Thanks!
2020-02-19 16:47:12 -08:00
Robert Gabriel Nisipeanu 6577100e95 ['react-swipeable-views-utils'] Add missing 'virtualized' and 'bindKeyboard' functions (#42336)
* Added missing 'virtualized' and 'bindKeyboard' functions for react-swipeable-views-utils

* Revert "Added missing 'virtualized' and 'bindKeyboard' functions for react-swipeable-views-utils"

This reverts commit a04ff4db27a444480d78d34fe2434231fc6dc066.

* Added missing 'virtualized' and 'bindKeyboard' functions for react-swipeable-views-utils-tests

* Added children prop for `virtualize`

* Fixed `Bind element 'number' has an 'any' type` error

* Fixed `file should end with a newline` error
2020-02-19 16:44:20 -08:00
Emily Marigold Klassen 635830083d Add promise-inflight types (#42442) 2020-02-19 16:41:15 -08:00
Sebastian Silbermann f36700cc10 fix(react): forwardRef accepts a special rendering function (#42398)
* test(react): Add failing test for defaultProps/propTypes and forwardRef

* fix(react): forwardRef accepts a special rendering function

* fix(react): deprecate over breaking change

* chore(react): diff hygiene

* chore(react): rendering function -> render function

* feat(react): Actually reject propTyps/defaultProps in forwardRef

* chore(react): explain `never` types in RenderFunction
2020-02-19 16:16:46 -08:00