Commit Graph
67417 Commits
Author SHA1 Message Date
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
Piotr Błażejewicz (Peter Blazejewicz) ca9d84b08b feat(karma-chrome-launcher): type definition for v3.1 (#42383)
- type definition
- tests

Thanks!
2020-02-19 16:15:24 -08:00
Ryan Dowling 4677923ae0 fix(styled-system__css): zIndex not being handled from theme as a string (#42326) 2020-02-19 15:56:49 -08:00
Aram Elchyan da50bddaa2 requestretry: delayStrategy property added to RequestRetryOptions. (#42300) 2020-02-19 15:53:34 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 0498177e3d feat(express-rate-limit): upgrade to v5, remodel definition (#42321)
- update api to be aligned with v5
- create v3 backward compatible version
- corrects problems with the definition to cover expecation from:
nfriendly/express-rate-limit#138
- rewrite tests compared to v3 to cover syntax used by the project
readme

Thansk!
2020-02-19 15:51:31 -08:00
Luis Felipe Zaguini 94e71fe291 [javascript-time-ago] Fix types (#42269)
* Fix javascript-time-ago types

* Enhanced types

* Fix types

* Fix files entries

* Fix files entries

* Fix files entries

* Fix files entries

* Fix files entries

* Fix files entries

* Fix files entries
2020-02-19 15:33:48 -08:00
Avery Fay 955e667056 add types for hapi-server-session (#42403) 2020-02-19 15:09:26 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 230fd5eec4 feat(find-unused-sass-variables): type definitions for v1.0 (#42491)
- definition file
- tests

https://github.com/XhmikosR/find-unused-sass-variables#api

Thanks!
2020-02-19 14:50:00 -08:00
Keith Kirton e5c3b4deec Support Gremlin DSL definitions (#42450)
- Base classes `GraphTraversalSource` and `GraphTraversal`steps return `this`
in order to not lose the extensions added by derived DSL classes.
- Generic type `T` is used by `GraphTraversalSource`, and `Statics`
to specificy their steps `GraphTraversal` return type. Defaults to `GraphTraversal`.
- Generic type `S` is used by `AnonymousTraversalSource`, to specify the
underlying `GraphTraversalSource` type. Defaults to `GraphTraversalSource`.

Add DSL tests

Add definitions for `elementMap`
2020-02-19 14:33:07 -08:00
Brian Wilson c16059e932 Match chrome.tabCapture.CaptureOptions with IDL definition (#42378)
In both the documentation and the IDL for tabCapture chrome uses
the confusing name `MediaStreamConstraint` which is not similar to
the actual `MediaStreamConstraints` browser type.  In the IDL the
documentation claims (incorrectly) that it's MediaTrackConstraints,
but there are additional undocumented supported fields so the type
ends up as `object`:

See:

https://chromium.googlesource.com/chromium/src/+/b79156a434f215444989be10c007a1a992280108/chrome/common/extensions/api/tab_capture.idl#27
2020-02-19 14:30:10 -08:00
Rory McGuinness cf5daa1ab0 Type CARDS as Deck (#42492) 2020-02-19 14:27:19 -08:00
Phil Gibbins 008f0f22da Change koa-ejs ctx.render properties type to 'any' to allow for nested objects and other types than 'string' (#42342) 2020-02-19 12:58:58 -08:00
Connor PeetandSindre Sorhus 98c1a4b208 add types for kap plugins (#42416)
* add types for kap plugins

* add support for new oauth functionality

* fixup! pr comments

* fixup! pr comments

* Update types/kap-plugin/index.d.ts

Co-Authored-By: Sindre Sorhus <sindresorhus@gmail.com>

* rebuild

Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-19 12:13:24 -08:00
Gaelan 9cf554891c Add types for serverless-jest-plugin. (#42412)
* Add types for lambda-wrapper.

* Add types for serverless-jest-plugin.
2020-02-19 11:58:07 -08:00
Gaelan 4104952eb9 Add types for lambda-wrapper. (#42408) 2020-02-19 11:53:29 -08:00
F.P 8d98dc86af proxy-from-env: Add missing URL type for input parameter (#42447)
* Add missing type for input parameter

Allow `URL` objects as parameter (see https://github.com/Rob--W/proxy-from-env/blob/master/index.js#L24 )

* Update types and tests

* Add missing reference type
2020-02-19 11:20:34 -08:00
Piotr Błażejewicz (Peter Blazejewicz)andExE Boss 039151ba67 fix(ejs): add missing options property (#42422)
* fix(ejs): add missing options property

- `outputFunctionName` configuration option
- test updated

Thanks!

* Update types/ejs/index.d.ts

Resolve PR comments

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Update types/ejs/index.d.ts

Resolve PR comments

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Update types/ejs/index.d.ts

Resolve PR comments

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Update authors as per PR comment

Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
2020-02-19 11:19:11 -08:00
Gareth Jones 21df3e7084 feat(jest): add SpiedFunction type (#42460) 2020-02-19 11:15:56 -08:00
ExE Boss 70956465ac feat(node): Add support for symbol-based CustomPromisify (#42154)
* feat(node): Add support for symbol-based `CustomPromisify`

* test(node): Add tests for symbol‑based `CustomPromisify`

* test(node): Fix `doSomething`’s `onSuccessCallback` defintion
2020-02-19 11:13:44 -08:00
ExE Boss a12905bdef feat(node): Fix vm.compileFunction(…) type (#42414) 2020-02-19 11:12:35 -08:00
Pedro Mutter a16dcfb8da Removed types for @catho/quantum:3.9.0^ (#42465)
* simplecrawler modules type definition

* required fixes in export

* adjustments reference types of crawler.d.ts

* added catho__quantum types definitions

* Fix lint errors

* Fix lint errors

* Fix lint errors

* fix components event handlers types

* fix lint complains

* fix few missing attributes

* del(Catho/Quantum): remove Catho Quantum types

* del(Catho/Quantum): remove Catho Quantum types

* fix notNeededPackages.json

* fix notNeededPackages.json
2020-02-19 11:06:34 -08:00
wengkhing ecd6fb8f3c [aws-lambda] Split APIGatewayEventIdentity type (#42448) 2020-02-19 11:00:55 -08:00
Mohamed Shaban 6c59e79d0c Add android app state events "blur", "focus" (#42423)
* fix: add android app state events

* trigger ci

* remove trailing space
2020-02-19 14:46:20 +01:00
Ifiok Jr 9306d15154 feat: upgrade cli-spinner version (#42228) 2020-02-18 16:16:52 -08:00
Nick Krichevsky 71171f48b5 Add type declaration for gl-fbo (#42394) 2020-02-18 16:09:43 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 308f467a17 feat(alex): type definitions for alex v8.1 (#42461)
- type definitions
- tests

https://alexjs.com/
https://github.com/get-alex/alex#readme

Thanks!
2020-02-18 15:17:53 -08:00
Simon Buchan b9b6b0e9bd [aws-lambda] Fixes a couple of typos I made noticed by @apepper (#42437)
See original PR #42080
2020-02-18 14:29:42 -08:00
coyoteecd 42b2f4a5f7 [jasmine] Add typings for resolveTo() and rejectWith() introduced in jasmine 3.5 (#42374)
See:
- https://jasmine.github.io/api/3.5/SpyStrategy.html
- https://github.com/jasmine/jasmine/pull/1688
- https://github.com/jasmine/jasmine/issues/1715
2020-02-18 14:27:42 -08:00
Karl Horky e73517f0d5 @types/passport-auth0: Add default export to type definition (#42315)
* Add default export to type definition

* Add my name

* Update test

* Commit to prevent bot from auto-closing

* Try other export format

* Add declare

* Change back to export

* Try `export default`

* Add module

* Remove module again

* Fix imports

* Upgrade imports

* Revert imports

* Revert imports

* Try using default instead

* Revert test

Cannot test for a default import

Ref: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/41948#issuecomment-585441968

* Try wrapping in namespace

* Fix or disable linting errors

* Try with different namespace merging

* Fix interface access
2020-02-18 14:17:03 -08:00
onichandame 42bb035f82 yup SchemaDescription test params (#42400)
* yup SchemaDescription

* updated yup test

* updated yup SchemaDescription

* added yup object fields types

* changed test for readability

* semicolon missing
2020-02-18 13:27:21 -08:00
Ryan Willpower 73e39b2a83 feat(node, perf_hooks): add entryType to all types and interfaces that use it (#42428)
* feat: add entry type

Accorded to document https://nodejs.org/api/perf_hooks.html\#perf_hooks_performanceentry_entrytype entry should have its own type, not a string type.

* chore: add contributer name

* feat(node): add entry type
2020-02-18 12:49:52 -08:00