Commit Graph
66928 Commits
Author SHA1 Message Date
Offir Golan 60c8a720cc [@pollyjs/core] Update types for v4.0.0 (#41769) 2020-01-24 16:56:24 -08:00
Aaron Hedges bc6cbcd0ea remove roads and roads-server from definitelytyped now that there is official typescript support (#41720) 2020-01-24 16:54:43 -08:00
Hampus Sjöberg 25f996b56c bech32: Fixing parameter types and return types (#41707) 2020-01-24 16:54:16 -08:00
Karl-Aksel Puulmann 5845ec551f redux-first-router: expose selectLocationState function (#41712)
Implementation: https://github.com/faceyspacey/redux-first-router/blob/a8f3bb3995089f1a9355ca596ce20987e10ee572/src/connectRoutes.js#L156
2020-01-24 16:53:18 -08:00
ExE Boss 0ff2a739e7 fix(js‑yaml): loadAll(…) allows null as the iterator parameter (#41715) 2020-01-24 16:49:36 -08:00
Richie Bendall e0b072e8e8 feat: Add typings for du (#41823)
* feat: Add typings for du

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* chore: Remove boilerplate line

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-24 16:46:40 -08:00
Richie Bendall fb12206078 feat: Add types for merge-objects (#41822)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-24 16:27:38 -08:00
Richie Bendall 371d5794ce feat: Add typings for to-space-case (#41821)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-24 16:26:58 -08:00
Richie Bendall 349924fb34 feat: Add typings for pad-left (#41820)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-24 16:26:22 -08:00
Richie Bendall 84fe8dca51 feat: Add typings for file-size (#41824)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-24 16:25:35 -08:00
Eitan Levi bc1087ecf1 Add types for passport-microsoft (#41827)
This adds types for the passport-microsoft package, which is a library
for authenticating with Microsoft's GraphQL API over OAuth2 using
    PassportJs.
2020-01-24 16:22:49 -08:00
TypeScript Bot 642907bf7b Update CODEOWNERS (#41841) 2020-01-24 09:30:18 -08:00
Piotr Błażejewicz (Peter Blazejewicz)andKyle Albert 2a7deeea29 fix(carbon-components-react): title prop of the AccordionItem. Closes #41811 (#41825)
* fix(carbon-components-react): `title` of AccordionItem. Closes #41811

- redeclare `title` property to supports React.Node

Thanks!

* Update types/carbon-components-react/lib/components/Accordion/AccordionItem.d.ts

thx to @kalbert312

Co-Authored-By: Kyle Albert <5498623+kalbert312@users.noreply.github.com>

Co-authored-by: Kyle Albert <5498623+kalbert312@users.noreply.github.com>
2020-01-23 14:26:47 -08:00
Tushar Velingkar e7f05433ff Carbon Components React - MutliSelect types fix (#41779)
* Added the required items type to MultiSelect.d.ts.
2020-01-23 14:26:05 -08:00
Richie Bendall 16b047f880 feat: Add typings for nice-try (#41287)
* feat: Add typings for nice-try

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* feat: Add typings for incorrect parameters

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* fix: Change void to undefined

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* chore: Update expected types

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-23 12:03:43 -08:00
Richie Bendall 06b82c4e40 feat: Add types for group-array (#41819)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-23 10:45:53 -08:00
Charles Gagnon 013ce96de7 [azdata] Fix some linting errors (#41795)
* Initial commit

* Remove unneeded rule overrides

* Update owner URL

* Use user URLs instead of repo URL

* Undo line length changes

* First pass at fixing linting errors

* First pass at fixing linting errors

(cherry picked from commit 1f65ca10c019f7430ba91ed0c367173ae42f5b24)
2020-01-23 10:45:21 -08:00
Connor Fitzgerald 0ceca4244b [swagger-stats] Add new definition (#41818)
* Allow undefined bind parameters

* Upgrading oracledbto 4.1

* Update version number

* Fix tsconfig typo

* Initial pass. Needs linting

* Fix lint errors for swagger-stats

* Remove express from package.json
2020-01-23 10:37:45 -08:00
Alan Lu 84e3395375 [contract-proxy-kit] Add definition (#41744)
* Wrote initial declaration

* Wrote tests for types

* Refined CommonConfig declaration

* Ran prettier

* Use ReadonlyArray<Transaction> for execTransactions

* Export type definitions in CPK namespace
2020-01-23 10:33:29 -08:00
Garrett McCullough cdb72f29f2 react-native AbortController and abort signal for fetch (#41660)
* add Abort Controller to react-native

* add AbortController class and add signal to fetch RequestInit

* add back websocket types that were lost

* revert whitespace changes
2020-01-23 10:23:05 -08:00
Simon SchickandGerhard Stöbich 19826ba267 feat(node): v13.6 (#41353)
* feat(node): v13.3

* feat(node): v13.4-5

* Update types/node/wasi.d.ts

Co-Authored-By: Gerhard Stöbich <18708370+Flarna@users.noreply.github.com>

* feat(node): v13.6

Co-authored-by: Gerhard Stöbich <18708370+Flarna@users.noreply.github.com>
2020-01-23 10:20:52 -08:00
Philip Jackson fd56e4dd29 @wordpress/components: Add isDismissible prop to <Modal> (#41800)
The isDismissible spelling has replaced isDismissable (with an "a"). The old
spelling has been left where it is to avoid breaking builds, however it has
been marked as deprecated in the JSDoc.

Added a test for the prop in wordpress__components-tests.tsx.
2020-01-23 10:16:36 -08:00
Sam Herrmann 3fd6756917 [canvas-gauges] Add definition for drawing injections (#41794) 2020-01-23 10:16:01 -08:00
Charlie Arnold 7b6a588f0f fix signature (#41797)
previous type definition signature was incorrect; reference: https://github.com/tmpfs/format-util/blob/master/format.js
2020-01-23 10:14:46 -08:00
Oliver Joseph Ash 53bb1520e3 eslint: allow fix to return array (#41783) 2020-01-23 10:14:17 -08:00
Matt Phillips b00fcf25b9 Fix Jest Matchers type (#41766)
* Add default to additional `T` generic type parameter

* Update default from void to empty object literal
2020-01-23 10:12:58 -08:00
Tomasz Pluskiewicz 41a817a924 refactor: simplify iteratee declarations (#41810) 2020-01-23 10:03:14 -08:00
Kazuma Ebina 42656c6bd0 [react-redux] useSelector can infer its return type with shallowEqual (#41540)
* [react-redux] Type inference for shallowEqual

* [react-redux] Test the type is correctly inferred
2020-01-23 10:01:50 -08:00
Kelvin Chu ae8cb31ff0 [react-native] update Lists props to match flow Maybe Types. (#41804) 2020-01-23 09:58:54 -08:00
Connor Fitzgerald 365d3c585b [oracledb] Upgrade to 4.2 (#41803)
* Allow undefined bind parameters

* Upgrading oracledbto 4.1

* Update version number

* Fix tsconfig typo

* Upgraded to 4.2

* Update version number

* Deprecate lob.close

* Update deprecated message
2020-01-23 09:58:00 -08:00
Richie Bendall a261943ede feat: Add typings for is-generator-function (#41817)
* feat: Add typings for is-generator

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* feat: Add typings for is-generator-function

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-23 09:57:24 -08:00
Sitong Peng e19d6aa07a [css-font-loading-module] Add FontFaceSet to WorkerGlobalScope (#41699)
* [css-font-loading-module] Add FontFaceSet to WorkerGlobalScope

* [css-font-loading-module] Test FontFaceSet for WorkerGlobalScope
2020-01-23 09:55:36 -08:00
Emily Marigold Klassen 0eb2c47e27 Fix iso-3166-2 typings as it can return null (#41698) 2020-01-23 09:52:51 -08:00
Piotr Błażejewicz (Peter Blazejewicz) de4c6bb742 feat(auth0-js): missing cross-origin support (#41796)
- deprecate `crossOriginAuthenticationCallback`
- add missing `crossOriginVerification'
https://auth0.com/docs/cross-origin-authentication#create-a-cross-origin-verification-page

Thanks!
2020-01-22 16:27:33 -08:00
Aled Wassell 92540bcd48 Update Cytoscape index.d.ts adding types "target-distance-from-node", "arrow-scale" and "text-backgr… (#41755)
* Add types "target-distance-from-node", "arrow-scale" and "text-background-padding" to index.d.ts

* Update index.d.ts to remove trailing whitespace
2020-01-22 13:14:10 -08:00
Jozef Sovcik 03e33d61c5 @types/eslint - adding optional data argument to Formatter type (#41772)
* adding definition for optional formatter data argument

* adding basic test

* implementing data arg for ts31

* fixing linter errors

* specifying min TS version

* TS version specified

* trying to fix dtslint bug

* fixing types
2020-01-22 11:17:14 -08:00
Dan Aprahamian b66fe3db91 @types/long: update to allow easier module augmentation (#41669)
Updates the typings to allow for easier augmentation the 'long'
package for both prototype and static functions.

h.t. to  @DanielRosenwasser for the help with this.
2020-01-22 11:15:57 -08:00
박기완 e52d1cc447 [humps] Change order of function typing to support spread (#41750)
* Change order of function typing to support spread

Array is regarded as Object,
so type of functions are inferred to function returning Object.

* Chore: run prettier

* Fix: re-enable dt-header rule

* Fix: re-enable ban-types rule

* Fix: use recommended lint rules

- Use const instead of let.
- Use arrow functions.
- Make function declarations adjacent.
- Do not use namespace, and export all things manually.
2020-01-22 10:08:22 -08:00
JamieS1211 212f80a60c google-map-react - Added types for util functions (#41598)
* google-map-react Added types for util functions

* Populate other files data

* Capitalise interface name
2020-01-22 10:06:47 -08:00
Dhruv Jain 62dab65992 fix[react test renderer] replace deprecated type ReactType (#41701)
* fix: add PropsWithChildren to ExoticComponent

* fix[react-test-renderer] - replace ReactType with ElementType

* remove react changes
2020-01-22 10:01:43 -08:00
Brian Walendzinski 39ec357087 initial pulsar-client 1.0 types (#41778) 2020-01-22 10:00:37 -08:00
Fabian Lee 57d0019cd1 [react-native-share] Update to v3 (#41782)
* [react-native-share] Update to v3

* fix: move stuff to v1
2020-01-22 09:59:11 -08:00
Stuart Long 88eddeabe2 ramda: add generic typing to Evolver (#41672)
* Add generic typing to Evolver

* Remove partial import

* Fix lint issue
2020-01-22 09:54:48 -08:00
Isaac Huang e88aced7df Describe Parsimmon.seq and extend Parsimmon.seqMap (#41677)
Use "generic rest parameters" in TypeScript 3.0 to describe
`Parsimmon.seq` and extend `Parsimmon.seqMap` to 10 parameters.

Because it's not possible to type `Parsimmon.seqMap` without
removing the last parameter type from the generic rest type.
2020-01-22 09:45:45 -08:00
c432ac3872 add pipeline prameter to model watch method (#41676)
Co-authored-by: KarLew-Pragmatists <karol.lewandowski@pragmatists.pl>

Co-authored-by: mlewando90 <51323011+mlewando90@users.noreply.github.com>
Co-authored-by: KarLew-Pragmatists <52400334+KarLew-Pragmatists@users.noreply.github.com>
2020-01-22 09:44:36 -08:00
andrejak 319e33d32a codemirror: add missing LineWidgetOptions properties (#41687) 2020-01-22 09:40:48 -08:00
Linus Unnebäck cb13602dd5 [jsonwebtoken] Fix return value when passing json: true (#41694) 2020-01-22 09:35:29 -08:00
vodess c808a5a4e7 added algorithm namespace with Orientation class, CoordinateSequence, IntersectionMatrix to geom, util namespace with AffineTransformation class to geom, operation with GeometryGraphOperation, relate namespace with RelateOp class to operation (#41785) 2020-01-22 09:33:55 -08:00
Ștefan-Gabriel Muscalu 636c69bbd2 [@types/hapi__joi]: implement validate value return types (#41788) 2020-01-22 09:33:11 -08:00
Jean-Guillaume Buret 9c11476da2 fix(node-mailjet): recipients typing (#41791) 2020-01-22 09:28:26 -08:00