Commit Graph

67002 Commits

Author SHA1 Message Date
Serge BESSON
49eee40094 [@types/mongodb] Adding missing options parameters in functions of Admin interface (#40824) 2019-12-05 19:18:08 -08:00
Tom Sartain
570f69177d [algoliasearch] Add QueryParameters.userToken (#40808)
See https://www.algolia.com/doc/api-reference/api-parameters/userToken/
2019-12-05 19:17:26 -08:00
Bill Li
98e8424e9f [@types/stripe]: Adding cancel_at to subscription (#40815)
* [@types/stripe]: Adding cancel_at to subscription

* [@types/stripe]: Adding prorate, cancel_at_period_end to subscription
2019-12-05 19:12:39 -08:00
Chris Wilkinson
b1e5b5ce5a [rdf-js] Add Dataset interface (#40794)
* Add Dataset interface

* CS/generic fixes

* Arrays

* Fix extension

* Fix generic

* Override return type

* Returns itself

* Reverse reduce generics

* Test

* Use this
2019-12-05 19:09:55 -08:00
Carson Farmer
331b9e134c Adds clear to levelup + updates tests (#40792)
* feat: adds clear to levelup

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* docs: update contributors

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2019-12-05 18:56:15 -08:00
Nathan Shively-Sanders
eee201b2ad remove qunit/v1 references in tests (#40866)
references to `v1` in the test files work on Definitely Typed but don't
reflect real usage, which specifies versions using package.json.

The fix in this case is easy -- switch to current version of qunit. This
required some test changes to jquery.bbq, but they were all renames,
essentially.
2019-12-05 15:18:58 -08:00
Tim Bartley
7f9ef75bff [@types/stripe] Add missing client_secret property to ISetupIntentConfirmOptions (#40812) 2019-12-04 17:43:27 -08:00
Marius Bologa
d0cb7358d9 fix: add setValue for react-native-material-textfield (#40806) 2019-12-04 16:10:50 -08:00
ExE Boss
3c4ac92d62 feat(ejs): Update to v3.0 (#40811)
* feat(ejs): Update to v3.0

* test(ejs): Add `<reference />` to self in UMD test
2019-12-04 16:09:08 -08:00
Simon Schick
c352479209 fix(ioredis): make types more accurate (#40720) 2019-12-04 16:06:30 -08:00
Nathan Brown
4e7cbd4e64 [icepick] Updates to input arrays to use ReadonlyArray, general cleanup, major version bump (#40807)
* [icepick] Make tsconfig.json more strict

* [icepick] input arrays can be readonly

* [icepick] add tests new alias and methods already in the definitions.

* [icepick] remove most tslint rule exceptions and apply formatting.

* [icepick] remove unnecessary generics

* [icepick] update library version to 2.3 as that is when dissocIn/unsetIn where added.

* [icepick] apply strict-export-declare-modifiers rule

* [icepick] apply prefer-const rule to tests
2019-12-04 15:54:03 -08:00
Brian Ingles
c6dea7c0bf Make 'slate' and 'slate-react' Plugin types generic (#40777)
* Added slate-react onContextMenu prop type

* Added onContextMenu to unit test

* Made Plugin related interfaces generic to allow using slate-react Editor type in plugins.
2019-12-04 15:51:47 -08:00
Filip Stanis
fc68244f36 Update css-tree types: some returns boolean, add find, findLast, findAll (#40770)
* Update css-tree types: `some` returns boolean, add find, findLast and findAll

* use better types when visit parameter is set
2019-12-04 15:49:18 -08:00
Tomasz Dysinski
16564a69de Adding new WebGL2RenderingContext (#40789) 2019-12-04 15:45:39 -08:00
Gary S
482bf4af77 [react-virtualized] Correcting Table.noRowsRenderer property function return type (#40779)
* Correcting prop function return type

`noRowsRenderer` takes a function which will return an element to render when no rows are found. The default value for this prop is `() => null` which also does not fit the schema of `() => void`.

* Adding explicit possible null return value to type

Co-Authored-By: Ron Buckton <ron.buckton@microsoft.com>
2019-12-04 14:53:24 -08:00
Bartosz Kotrys
ec03e77d0a fix: add missing typing for auth0-js lib (#40793) 2019-12-03 23:06:09 -08:00
SnowyLeopard
aba5411bce Update materialize-css autocomplete type (#40749) 2019-12-03 23:03:53 -08:00
everhardt
558ec33b76 hapi__joi: AnySchema extends SchemaInternals and isJoi is dropped (#40767)
* chore: changes by linter

* feat: Joi Schema has SchemaInternals

* fix: isJoi is removed from Joi object
2019-12-03 23:02:40 -08:00
Kevin W
02f200d643 Added wrap prop for the TabsProps interface (gestalt) (#40782)
* Added wrap prop for the TabsProps interface

Added the missing wrap prop for the TabsProps interface.

* Fixed the typo
2019-12-03 21:30:56 -08:00
Merott Movahedi
b1a6ee348e fix(airtable): return types for Table.create (#40756)
* fix: Table.create can return a single TFields object

When `create` is called with a single object to create, the return type is not an array, but a single object. `Response<TFields>` is defined as `ReadonlyArray<Row<TFields>>` (note: `Array`), which isn't correct for a single object. Likewise, `Promise<Array<Response<TFields>>>` implies a multidimensional array, which again isn't correct.

* test: add tests for Airtable.create

* fix: fix usage of Readonly type
2019-12-03 21:12:42 -08:00
Steve Johns
128406e454 add rpxtransformers to xstyled__system (#40788) 2019-12-03 17:06:50 -08:00
Andrii Rodionov
a26abc07b0 [nuxtjs__auth] added missing declarations (#40778)
* [nuxtjs__auth] added missing methods declarations

* fixed missed semicolons
2019-12-03 17:01:07 -08:00
Michael
4b7a130a2d [@types/fabric] Fix gradients, version 3.5 (#40583)
* fix setGradient options, fix set BackgroundColor  options

* Gradient contructor options optional

* update gradient constructor to official doc

* add contacts for mention

* update fabric verstion

* OGradientOptions refactor to interface

* fabric.Object setGradient fix tests

* add reHex, reHSLa, reRGBa

* Object fill can be gradient
2019-12-03 16:53:09 -08:00
Floris de Bijl
7a3527a881 [sharp] update typings to 0.23.3 and fix #40640 (#40771)
* [sharp] update typings to 0.23.3 and fix #40640

* [sharp] remove patch version
2019-12-03 16:51:28 -08:00
ExE Boss
ccd0ad5997 feat: Add @ungap/create‑content (#40708) 2019-12-03 15:40:10 -08:00
sjoseph7
35fd1ba5db Adding types for existing node module "express-list-endpoints" (#40656)
* initial commit

* fix: update express-list-endpoints-tests.ts

* fix: update index.d.ts

I followed in express-less's footsteps

* fix: update tslint.json

I used the tslint file found in express-less.

* fix: remove unnecessary rule changes

* fix: remove unneeded "export"

* docs: update header

* fix: remove tslint rule
2019-12-03 15:12:15 -08:00
ExE Boss
254fd7c1bb feat: Add function‑bind (#39337)
* feat: Add `function‑bind`

* fix(function‑bind): Separate <TS3.2 and TS3.3+ type defintions

* chore: `tsconfig.json` now allows only `index.d.ts` and tests
2019-12-03 10:59:58 -08:00
TypeScript Bot
5cc5b325ee Update CODEOWNERS (#40735) 2019-12-03 09:58:21 -08:00
Konstantin Alikhanov
70d44c638a Cheerio / adding undefined to return type of attr method of Cheerio interface (#40634)
* Adjusting return type of attr method of Cheerio object. It returs undefined type if selection is empty

* Writing additional test for attr of empty selection
2019-12-02 20:16:23 -08:00
Anton Rieder
09f043eb58 [list.js] Make filterFunction optional (#40666)
See:
https://listjs.com/api/#filter
52afe2db0d/src/filter.js (L11)
2019-12-02 19:44:55 -08:00
Denis Malinochkin
51eeca659d fix(merge2): the package uses PassThrough stream (#40755) 2019-12-02 19:39:15 -08:00
Martien Oranje
28a61b913d Add error and fallback to rules interface for no-context/moo (#40752)
* Add error and fallback to rules interface

* Fix linting errors

* Remove patch version number from type definitions
2019-12-02 19:38:21 -08:00
Attila Večerek
907eb2868d Update ioredis sentinel retry strategy (#40726)
* Update sentinelRetryStrategy to its latest declaration

* Make sentinelRetryStrategy consistent with retryStrategy

* Review response: Align the retryStrategy declarations with the ones in ioredis [breaking change]
2019-12-02 19:36:43 -08:00
jonathan-cowling
1eda13a6c2 [@keystonejs/adapter-mongoose] fix typo in adapter name (#40741)
* Fix typo in adapter name

* Fix typo in test

* Update keystonejs__adapter-mongoose-tests.ts
2019-12-02 19:34:23 -08:00
henrythasler
2be9faffbb [leaflet.js] fix typings for Polyline.addLatLng() (#40719)
* [leaflet.js] fix typings for Polyline.addLatLng()

* removed comment
2019-12-02 19:32:16 -08:00
Lorenzo
dcd8b22cf8 [ssh2-sftp-client] add the second param for list method (#40609) 2019-12-02 19:29:53 -08:00
Josef Biehler
eefd469022 adjust comment of nan/notnan (#40713) 2019-12-02 19:26:46 -08:00
Connor Fitzgerald
18763397b4 Upgrading @types/oracledb to 4.1 (#40653)
* Allow undefined bind parameters

* Upgrading oracledbto 4.1

* Update version number

* Fix tsconfig typo
2019-12-02 18:14:00 -08:00
Guillaume
2297383888 Add roxy option to the rox-* packages (#40648) 2019-12-02 18:11:59 -08:00
brycematheson1234
0614df6833 Added responseInterceptor swagger-ui-dist (#40643)
* Added responseInterceptor

* Fixed typo
2019-12-02 17:46:39 -08:00
Elizabeth Samuel
746dfcbb72 [office-js] [office-js-preview] (Outlook) Update MasterCategories per… (#40637)
* [office-js] [office-js-preview] (Outlook) Update MasterCategories perms and remove OWA bug note from getSelectedDataAsync

* Fix casing
2019-12-02 17:45:39 -08:00
LittleB
c10ef267d3 add @types/react-stars (#40725) 2019-12-02 12:38:52 -08:00
Tim Ittermann
ce5ef64de9 Add Types for react-countdown-circle-timer 1.0.3 (#40724)
* Add Types for react-countdown-circle-timer 1.0.3

* Fixed Definition

* Fixed Test
2019-12-02 12:37:27 -08:00
taoqf
f1e572c94d add types: rn-app-upgrade (#40762)
* wxapp: add FileSystemManager

* fix: add interface

* uppercase interface name

* add types react-native-audio

* add types for baidumap

* lint

* add doc header non-npm package

* add types: react-native-easy-upgrade

* fix: options

* fix

* react-native-easy-update: add typescript version

* 🐛 weixin-app: fix return types of chooseImage

* add types rn-app-upgrade
2019-12-02 12:33:54 -08:00
jlismore
72c4460d56 Add types for trashable (#40744) 2019-12-02 11:31:49 -08:00
Jordan
dee35106d1 [chart.js] Add DoughnutModel interface (#40537)
* [chart.js] Add DoughnutModel interface

* [chart.js] Update Model interface to contain properties used with the doughnut chart.
2019-12-02 10:55:20 -08:00
jlismore
a14c7963a0 [password] Add types for password pkg (#40692)
* Add types for password pkg

* Don't code as default export
Remove esinterop and TS2.7 requirement
2019-12-02 10:52:24 -08:00
Mathias Lykkegaard Lorenzen
1aa567cd82 Titanium updates (#40624)
* fix for alloy typings.

* fix for typings.

* fix for linting issues.

* removed redundant keyword.

* fix for typo.

* losened typings for alloy.

* added args.

* added missing API.

* removal of properties that are better defined manually.

* added global index accessor.

* fix review comments.

* made fireEvent event arg optional.
2019-12-02 10:47:21 -08:00
Federico Brigante
8e7248d523 @types/react: Mark booleanish HTML/SVG JSX attributes as such (#40658)
* Mark booleanish HTML/SVG JSX attributes as such

* Extend `contentEditable` and `focusable` types
2019-12-02 10:46:10 -08:00
ExE Boss
eb93a1cad4 feat: Add @ungap/globalThis (#40712) 2019-12-02 10:43:59 -08:00