Commit Graph
66146 Commits
Author SHA1 Message Date
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 SandRon Buckton 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
https://github.com/javve/list.js/blob/52afe2db0d018df3009acf49b6cbb56943b28024/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
Jakub SimonandAndrew Branch 7134cfbbb4 types/soundmanager2 - added audioFormats SoundManager Top-Level property (#39048)
* types/soundmanager2 - added audioFormats SoundManager Top-Level property

* Update types/soundmanager2/index.d.ts - added related to SoundManagerAudioFormat

Co-Authored-By: Andrew Branch <andrewbranch@users.noreply.github.com>
2019-12-02 07:08:42 -08:00
Aaron Ross ff69d22d5d add type definitions for json-form-data (#40606) 2019-11-27 15:59:02 -08:00
Junxiao Shi de07a576c7 promise-abortable: initial definition (#40607) 2019-11-27 15:51:05 -08:00
Steve Hankin 39299445bd fix: incorrect signature cause ts2345 (#40699)
* fix: incorrect signature cause ts2345

Test incorrectly used a static Axios config and needed to pass an Axios Instance
since the Axios module is updated to inject an interceptor

* docs: corrected author url
2019-11-27 15:49:38 -08:00
Adam S 75f94c7f9c create types for range_check (#40617)
* add types for range_check

* fix linter errors
2019-11-27 15:44:37 -08:00
Dan Rumney e1cba160c4 Removing self from declarations as I no longer use yup (#40707) 2019-11-27 15:40:46 -08:00