Commit Graph

70253 Commits

Author SHA1 Message Date
Orta
8ed71f4314 Less whitespace changes 2020-07-24 16:27:41 -04:00
Orta
a1d0f9b07f Bleh more linters 2020-07-24 16:20:49 -04:00
Orta
7af19422dd Fix linter 2020-07-24 16:19:55 -04:00
Orta
ec3ac8cade Bring back unknown facade 2020-07-24 15:55:21 -04:00
Orta
00363cb1d8 Merge 2020-07-24 07:45:17 -04:00
Orta
775dfde198 Switch to unknown in qs 2020-07-24 07:44:40 -04:00
Orta Therox
4703d29eb0
Apply suggestions from code review
Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com>
2020-07-21 18:50:02 -04:00
Orta
5cb8ffc307 PoorMansUnknown -> UnknownFacade 2020-07-21 18:29:18 -04:00
Jeremi Stadler
7615d5e704
🤖 Merge PR #46149 [sharp] Allow boolean to be passed to blur by @jeremistadler
* Allow boolean to be passed to blur

https://github.com/lovell/sharp/blob/master/lib/operation.js#L163

* [sharp] Add blur boolean tests
2020-07-21 18:07:11 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
470eb9348f
feat(country-flag-icons): type definition (#46177)
* feat(country-flag-icons): type definition

- definition files
- tests

https://www.npmjs.com/package/country-flag-icons
https://gitlab.com/catamphetamine/country-flag-icons/-/blob/master/README.md

Thanks!

* Update types/country-flag-icons/index.d.ts

Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>

Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2020-07-21 13:37:06 -07:00
inglec-arista
048972aa9e
[@types/formdata]: New definition (#46201) 2020-07-21 13:14:07 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
5ab1a53bbe
feat(tiff-to-png): new type definition (#46216)
- definition files
- tests

https://github.com/RickCraig/node-tiff-to-png
https://www.npmjs.com/package/tiff-to-png

Thanks!
2020-07-21 13:12:25 -07:00
Kevin Brown
45f836f590
Add types for folder-hash (#46219)
* Added folder-hash types.

* Fixing tests.
2020-07-21 13:10:18 -07:00
inglec-arista
b0ad70a7ff
[remotedev-server]: New definition (#46222) 2020-07-21 13:07:04 -07:00
Dan Chif
22aaff326a
added types for img-diff-js (#46231)
* added types for img-diff-js

* Update types/img-diff-js/index.d.ts

Co-authored-by: Florian Keller <ffflorian@users.noreply.github.com>

* Update types/img-diff-js/index.d.ts

Co-authored-by: Florian Keller <ffflorian@users.noreply.github.com>

* updated JSDoc

* Update types/img-diff-js/index.d.ts

Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>

Co-authored-by: Florian Keller <ffflorian@users.noreply.github.com>
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2020-07-21 13:03:48 -07:00
Kognise
39c383fd8a
Add types for deta (#46237)
* Add types for deta

* Fix mistakes

* Add host parameter
2020-07-21 13:02:34 -07:00
inglec-arista
edac9bec87
[@eseb/request-state]: New definition (#46225) 2020-07-21 12:53:13 -07:00
javabitar
cdcc954d3d
Create definitions for layui-src (https://www.layui.com/) (#46188)
* Create definitions for layui (https://www.layui.com/)

* fix test problem

* Create definitions for layui-src (https://www.layui.com/)

* change name

* change file name

* oh

* modify code

* fix errors

* why

* test

* modify

* test2

* test3

* test4

* resolve suggestion

* empty layui-src-tests.ts

* reference types of jquery

* solve only-arrow-functions    and  space-before-function-paren

* why

* I am very hard

* local test passed
2020-07-21 12:01:06 -07:00
Florian Keller
7e333436c9
[uuid-readable] Add types for uuid-readable (#46215) 2020-07-21 11:56:13 -07:00
Miklós András Danka
476fe56389
Remove mdanka as an author (#46212) 2020-07-21 11:43:54 -07:00
Michaël De Boey
b16ab1a623
[react-easy-crop]: Remove react-easy-crop types (#46211) 2020-07-21 11:41:03 -07:00
inglec-arista
fd06a89188
[moment-locales-webpack-plugin]: New definition (#46209) 2020-07-21 11:38:54 -07:00
Gen Hames
371abc4ec3
Add types for Stylis 4.0 (#46171)
* Types for Stylis 4.0

* Add default export for Stylis

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Improved T generics

https://github.com/thysultan/stylis.js/pull/231#discussion_r456833622

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2020-07-21 11:36:02 -07:00
inglec-arista
ecf057a950
[@types/html-tableify]: New definition (#46208) 2020-07-21 11:34:00 -07:00
David Whynot
8d57ef6d48
graphql-fields: Update graphql to 15.3.0 (#46206) 2020-07-21 11:25:36 -07:00
Henrik Gundersen
b05527036f
[socket.io]: Added type checking for the HTTP server socket.io binds to (#46199) 2020-07-21 11:24:36 -07:00
Madhavan Sundararaj
25ccf89d9d
[@types/stripe-v3] hideIcon is no more a variable of ElementsOptions as per Stripe docs (#46193)
* hideIcon is no more a variable for ElementsOptions according to stripe doc

https://stripe.com/docs/js/elements_object/create_element?type=cardNumber

* updated react-stripe-elements types

* Keeping both hideIcon and showIcon
2020-07-21 11:23:59 -07:00
Justin Grant
a052ca4d82
Update types to 0.13 version (#46032)
The date-and-time packages has evolved a bit since the 0.6 release.
This commit:
- adds types for new functions `compile`, `preparse`, `extend`, `plugin`
- adds `PreparseResult` type
- deprecates `getDelta` type that made intellisense worse
- deprecates `Subtract` in favor of `SubtractResult` alias
- Adapt to breaking changes in the library:
  - `parse` no longer returns NaN (it will return Invalid Date object)
  - `isLeapYear` accepts a `number`, not a `Date`
  - `getLocales` and `setLocales` functions are removed
- Added various non-breaking updates, e.g. new optional parameters
- Clarified some JSDoc comments & parameter names
- Made minor grammar and capitalization updates
2020-07-21 11:14:02 -07:00
Manuel Thalmann
bbc452ea57
[inquirer] Fix Question.filter() declaration (#46023)
* Remove unnecessary imports

* Sort remaining imports alphabetically

* Update incorrect type-declaration of the `filter()` method

* Add a type for indicating a question type name

* Add new `loop` property

* Update the version number

* Update the version number

* Fix incorrect RawListQuestion type

* Add tests for the new changes
2020-07-21 11:06:21 -07:00
Alex Jerabek
e468b868a8
Correcting types for *TableStyles (#46233) 2020-07-21 10:57:23 -07:00
Elizabeth Samuel
fb23129fae
[office-js-preview] (Outlook) Beta tag notification items (#46234) 2020-07-21 10:36:34 -07:00
Elizabeth Samuel
2ffd522c2d
[office-js-preview] (Outlook) Document clickable infobar (#46087)
* [office-js-preview] (Outlook) Add clickable infobar to notification enum

* Minor cleanup

* Fix typo

* Add action object

* Tweak

* Update ActionType enum
2020-07-21 09:23:03 -07:00
Lody Borgers
3e7ef84b0a
🤖 Merge PR #46220 Added closeOnScroll prop definition for react-datepicker by @lodybo
* Added closeOnScroll prop definition

* Bumped type definition version specifier

Co-authored-by: Lody Borgers <l.borgers@taf.nl>
2020-07-21 09:31:19 -04:00
Michael Ness
97f6a9df78
🤖 Merge PR #46185 [@types/underscore] Collection and Array Tests - Every, Some, and Contains by @reubenrybnik
* Updating type definitions for every, some, and contains and adding tests.

* Adding a multi-call chain test that includes contains.

* Taking any value in contains.

* Fixing differentiation comments for contains.
2020-07-20 22:15:25 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
c67d8880bc
[fix] allow to use Holder directly in global script (#46178)
Minor tweak to support UMD export of the package.
https://github.com/imsky/holder#programmatic-usage

Thanks!
2020-07-20 15:03:50 -07:00
qwedos
17f3449839
Update index.d.ts (#46176)
Can't add selectsRange props in typescript
2020-07-20 15:02:44 -07:00
Chanaka Rathnayaka
82639ef0d6
Brings the type definition up to date with its JS library version 3.2.12 (#46175)
* Fixed "text" type in IInstruction

I don't believe that the text property should be a number, and when I changed it to a string in a personal project it worked perfectly.

* Added 3.2.12 version compatibility
Fixed typing bugs

* Lint errors are fixed

* Typescript support version is upgraded

Co-authored-by: Colin Sanders <ck.sanders4@gmail.com>
2020-07-20 15:01:02 -07:00
Julien Mourer
5bf3c27379
Change Number into number (#46168)
It was causing the following error:

```
The left -hand and right hand side of an arithmetic operation must be of type 'any', 'number' or an enum type
```

See also: https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#number-string-boolean-symbol-and-object
2020-07-20 14:59:08 -07:00
nam dohoang
30ed97b647
[simple-oauth2] Update typings to 4.1 to match with original library (#46162)
* simple-oauth2: Update typings to 4.1

* reformat quote and comma

* Update index.d.ts
2020-07-20 14:57:50 -07:00
antoniopresto
e4bda82e86
add type for Accounts.defaultFieldSelector (#46158)
add type for `Accounts.defaultFieldSelector` config: https://docs.meteor.com/api/accounts-multi.html#AccountsCommon-config
2020-07-20 14:55:40 -07:00
Tino Ehrich
60c9c1eaea
Fixed typing "currenyIsoCode" to "currencyIsoCode" (#46152) 2020-07-20 14:55:09 -07:00
Nathan Brown
ca95a9add7
node querystring: add readonly to input arrays (#44610)
* node querystring: add readonly to input arrays

* node querystring: use ReadonlyArray for older TypeScript
2020-07-20 14:53:58 -07:00
Tom Haines
cb79378535
Add setSupportedMediaCommands function (#46151) 2020-07-20 14:52:05 -07:00
Marco Solazzi
9bd63fc4c9
jest-axe: Update types to v3.5.0 (#46122)
* jest-axe: new configuration options

* jest-axe update version
2020-07-20 14:38:12 -07:00
Blade Barringer
cff6568533
Remove Braintree packages: @braintree/sanitize-url, credit-card-type, card-validator (#46109)
* Remove sanitize-url

* Remove credit-card-type

* Remove card-validator
2020-07-20 14:30:43 -07:00
Simon Legner
17e31ad0a0
Leaflet.Control.Attribution.setPrefix allows false (#46096)
See https://leafletjs.com/reference-1.6.0.html#control-attribution-prefix
2020-07-20 14:30:09 -07:00
not-a-doctor
69d90531f4
chore(istanbul-reports): update definitions for v3.0; (#46059) 2020-07-20 14:27:20 -07:00
Itay Ganor
7e240345ad
@types/react-input-autosize: Added support for props: extraWidth (#45979)
* Added extraWidth

* Added injectStyles

* Bumped version to 2.2.2

* Update react-input-autosize-tests.tsx

* Removed patch version from package semver
2020-07-20 13:46:44 -07:00
Marco Vockner
233942f5c1
[gamedig] update game list + add new properties (#45998)
* Add missing games (v2.0.21)
* Added `connect` field to QueryResult
* Added `debug` field to query options
* Remove `notes` & `query` fields (was removed in version 2.0.0)
2020-07-20 13:46:00 -07:00
Oleg Shilov
9925a1f4ba
fix(plotly.js): add missing properties to Axis interface (#45829)
* fix(plotly.js): add missing `tickformatstops` property to `Axis` interface

* test(plotly.js): add test for `tickformatstops` param

* fix(plotly.js): use `Array` instead `[]` for `tickformatstops` definition

* chore(plotly.js): format code with prettier

* fix(plotly.js): use more specific type for `PlotRestyleEvent` update property

* fix(plotly.js): add missing `multicategory` type to `AxisType`

* feat(plotly.js): update `Axis` interface

add some missing types and docs to `Axis` in accordance with https://github.com/plotly/plotly.js/blob/master/src/plots/cartesian/layout_attributes.js

* chore(plotly.js): remove `@deprecated` tags
2020-07-20 13:44:52 -07:00