Commit Graph

67002 Commits

Author SHA1 Message Date
Josejulio Martínez
7d4caa8dd6 [cytoscape] Add mapper functions and more (#39245)
* Allows Css.Core for the style/css

* Adds new round shapes

* - Allow mapper functions when defining style properties
- Adds "ghost"
- Plugs some interfaces to Css.Node/Edge

* - Add extra params to Handler
- Fixes the originalEvent type
- Adds other events methods

* Fix linting

* Adds missing Boundingbox options

* Adds a way to specify the target we are expecting for an event
2019-10-23 17:03:08 -07:00
Eitan Levi
72d72bb016 [config] Add types for 'defer' and 'raw' features of node-config (#39249)
* [config] Add types for 'defer' and 'raw' features of node-config

This change adds type definitions for the `raw` and `defer` features of
[node-config](https://github.com/lorenwest/node-config/).

The `raw` function is a wrapper that prevents node-config from
processing the object and making it immutable, useful for things like
stdout ([documentation
here](https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#using-promises-processstdout-and-other-objects-in-javascript-config-files)).

The `defer` function allows a value to be deferred until after the rest
of the config functions were resolved. [Documentation
Here](https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#deferred-values-in-javascript-configuration-files).

* Add test for rawValue config
2019-10-23 16:58:49 -07:00
Elizabeth Samuel
1a77e88b9d [Outlook] Note recipients props return max 100 or 500 members (#39122)
* [Outlook] Note recipients props return max 100 members

* Updates
2019-10-23 16:56:41 -07:00
Sergey Smolnikov
75e31b0a42 Add types for sailthru-client (#39338)
* Add types for sailthru-client

* Avoid exporting RestlerResult interface from sailthru-client
2019-10-23 15:06:55 -07:00
Mattia Panzeri
c70314f567 Add 'spotify-node-applescript' type definitions (#39347) 2019-10-23 15:06:14 -07:00
Armando Aguirre
2a33e79ece [Azure-Kusto-Node] Add UserCodeInfo to withAadDeviceAuthentication method (#39312)
* Add UserCodeInfo

* Added package.json

* Added node reference
2019-10-23 15:00:44 -07:00
Peter Belbin
86ffa58e94 Add eslint CLIEngine resolvePluginsRelativeTo constructor option (#39335)
* Add the resolvePluginsRelativeTo option

The documentation at https://eslint.org/docs/developer-guide/nodejs-api#cliengine shows this option

* Add for later versions of TypeScript, and tests
2019-10-23 14:59:48 -07:00
Oliver Joseph Ash
98a24059fc Node: util.promisify: widen callback error parameter to unknown (#39173)
* Node: `util.promisify`: widen callback error parameter to `unknown`

* Dedupe `PoorMansUnknown`
2019-10-23 14:59:05 -07:00
Peter Belbin
3eff69176c Fix node tty.d.ts WriteStream.cursorTo function signature (#39326)
* Make node/tty.d.ts writeStream.cursorTo match the documentation

The documentation for writeStream.cursorTo shows that the 2nd numeric property is optional.

https://nodejs.org/api/tty.html#tty_writestream_cursorto_x_y_callback

This change brings the function declaration into line with the published documentation.

* Add test for cursorTo with only 1 numeric parameter

Demonstrate calling cursorTo() passing a single numeric value.

* Add requested overload signature

* Add a blank line

* Remove a blank line
2019-10-23 14:56:46 -07:00
Mike Francis
fd0d582b4d Updated passport-google-oauth2 to include missing function signature (#39320)
* Added VerifyFunctionWithRequestAndParams

* Fix linting error
2019-10-23 14:56:01 -07:00
fent
7f8ae8fed8 Add mithril jsx types (#39242)
* Add mithril jsx types

* Add mithril fragment

* Add a small test
2019-10-23 14:54:53 -07:00
Arvid Norlander
d60ce5eeb1 [@types/roslib] Add missing options to main constructor. (#39228)
* Add missing options to main constructor in roslib.

Newer versions of roslib have more options to the constructor.

* Update types/roslib/index.d.ts

Co-Authored-By: Cooper Benson <skycoop@gmail.com>

* Update types/roslib/index.d.ts

Co-Authored-By: Cooper Benson <skycoop@gmail.com>
2019-10-23 14:53:04 -07:00
Nathan Shively-Sanders
940bf3a63d Fix electron dependency in electron-clipboard-extended to 6 (#39336) 2019-10-23 14:52:33 -07:00
garyking
79521e48c8 gitRemotes returns Remote[] (#39331)
This reverts d0bb9d9624 from #31420

release notes: https://github.com/nodegit/nodegit/releases/tag/v0.25.0
2019-10-23 14:51:37 -07:00
Adrián Caballero
7c6cf9d1a7 [chart.js] Definition of parameter attributes for custom tooltip method (#39346) 2019-10-23 14:49:58 -07:00
Derek Sifford
b02210215e fix(wordpress__data): improve type inference of useDispatch hook (#39362)
* fix(wordpress__data): improve type inference of `useDispatch` hook

* chore: run prettier over modified file
2019-10-23 14:49:36 -07:00
Alex Jerabek
02298d9aed [office-js, office-js-preview] Documenting build number for the SVG limitation issue (#39360)
* Adding a build number for a bug

* Correcting verbage

* Adding to release d.ts too
2019-10-23 14:48:31 -07:00
randomnerd
a9217bb2f4 Type declarations for eccrypt (#39334) 2019-10-23 14:03:43 -07:00
James Hong
edb4917e1b [use-global-hook] Updates def for simpler usage (#39199)
* [use-global-hook] Updates def for simpler usage

* [use-global-hook] make recommended changes

* [use-global-hook] remove lint suppression
2019-10-23 08:07:36 -07:00
Max Boguslavsky
4700dcf113 Added typing for jxon (#39283)
* added draft type for jxon

* corrected types for jxon

* corrected formatting

* removed tests

* Update types/jxon/index.d.ts

Great suggestion! Thank you!

Co-Authored-By: Wesley Wigham <wwigham@gmail.com>

* updated typescript version
2019-10-23 07:55:30 -07:00
Juhamatti Niemelä
cbc8a1ec78 Add node-jose DecryptResult properties (#39148)
Add missing DecryptResult properties found in the `node-jose` implementation
and documented here:

https://github.com/cisco/node-jose/blob/master/lib/jwe/decrypt.js#L42
2019-10-22 15:57:04 -07:00
Isiah Meadows
7456fd99fc mithril - Remove inactive author (#39332) 2019-10-22 15:54:44 -07:00
Michael Adams
5e19dd4a56 plotly.js - add plotly types for indicator chart (#39185) 2019-10-22 15:53:35 -07:00
Matthew Peveler
3619b2f43d [@types/jqueryui] Change event type for callbacks to JQuery.Event (#39184) 2019-10-22 15:52:05 -07:00
Benjamin Amelot
0237a013dd [plotly.js] add hiddenlabels to Layout (#39201) 2019-10-22 15:37:29 -07:00
Vesa Poikajärvi
0affaae383 [koa-proxy] opts.map can be a function too (#39203) 2019-10-22 15:31:01 -07:00
Veli-Matti Luoto
e93c792bcd Add missing props to CropperProps (#39205) 2019-10-22 15:30:40 -07:00
Brian Bugh
e4da6e8797 vuelidate: Add function call signature to ValidationRule (#39206)
* Add function definition to ValidationRule

ValidationRule is a function that takes in parameters and then applies them to the inner validator function. The types are currently missing that allow this behavior. This is most useful when building composed functions out of the built-in validators, like so:

```typescript
export const greaterThanZero: ValidationRule = and(minValue(0), not((value: UserInput) => value == 0))
export const greaterThanOrEqualToZero: ValidationRule = minValue(0)
```

Vuelidate "withParams" reference that returns a ValidationRule function: bb23f01ab4/src/params.js (L36-L55)

* unknown -> any for TS < 3.0

* Fix unrelated noImplictAny for TypeScript@next
2019-10-22 15:25:02 -07:00
pera
aa11bb97dc Update types to match Detox 14.5.0 (#39210)
* Update types to Detox 14.5.0

* Fixes...
2019-10-22 15:19:28 -07:00
Gideon Goldberg
d30819ea25 [jsforce] add streaming extensions (#38936)
* add jsforce streaming extensions

* fix typo

* fix formatting
2019-10-22 15:15:11 -07:00
Nikita Barabanov
4f90c72cf3 CSURF cookie "key" option is not required. (#39182) 2019-10-22 15:14:08 -07:00
erbridge
7d9f336bf9 [jest-axe] Fix toHaveNoViolations matcher (#39174)
* [jest-axe] Run Prettier

* [jest-axe] Fix toHaveNoViolations matcher

Jest matchers need to return the type of the thing they're matching.
2019-10-22 15:13:51 -07:00
Hugo Capocci
64ebf87ce5 add module 'no-css' for 'react-scrollbar' (#39175) 2019-10-22 15:11:59 -07:00
Alexander Tartmin
4a251790cd Fix typo in Google Receipt object field (date -> data) (#39168)
According to this line, it looks like a typo in Receipt object
e966ee1348/lib/google.js (L197)
2019-10-22 15:10:49 -07:00
Onur Var
4723b78d0c [@types/react-native-awesome-card-io] Added types for react-native-awesome-card-io (#39276)
* Added types for react-native-awesome-card-io

*  Added missing style props

* [@types/react-native-awesome-card-io] Updated with Requested PR changes

* [@types/react-native-awesome-card-io] Updated with Requested PR changes
2019-10-22 15:09:47 -07:00
Vadim Vakhovsky
ef1726fa43 [@types/consul] Add missing Watch options to node-consul (#39142)
* Add missing Watche options to node-consul

* Make added parameters optional
2019-10-22 15:07:07 -07:00
Leonidas Arvanitis
c897026a0f fix(cesium): Some CesiumWidget and Viewer options can be false (#39141)
Sources (docs are incomplete, especially for Viewer):
- https://cesiumjs.org/Cesium/Build/Documentation/CesiumWidget.html
- https://cesiumjs.org/Cesium/Build/Documentation/Viewer.html
- https://github.com/AnalyticalGraphicsInc/cesium/blob/1.59/Source/Widgets/CesiumWidget/CesiumWidget.js
- https://github.com/AnalyticalGraphicsInc/cesium/blob/1.59/Source/Widgets/Viewer/Viewer.js
2019-10-22 15:06:45 -07:00
Seally
0ec804fe74 [mock-fs] Update type definitions to v4.10. (#38796) 2019-10-22 15:01:41 -07:00
Anda Plotuna
c2ea279b93 [@types/jquery.fancytree] Add missing unselectable properties. Closes #36823 (#39123) 2019-10-22 14:59:45 -07:00
Billy Le
1b0d60a8ba webpack-dev-server/add-types: added type definitions up to webpack-dev-server 3.4.0 (#39093) 2019-10-22 14:40:43 -07:00
Nick Clifford
921c7103a4 Add types for ical (#39198)
* start ical types (external deps?)

* rework calendar component types

* add tests

* fix name

* fix callback return type

* optional index signature

* comment
2019-10-22 14:40:00 -07:00
Anthony Cerbic
65a9a348d0 fix passport-google-oauth20 additional options. (#39070)
Using TS module augmentation, allow google-specific authorization
options to be used with "authorize" and "authenticate" passport
calls, when "google" strategy is used.
2019-10-22 14:36:51 -07:00
Sander de Waal
17a1554a87 Add types for sortobject. (#38840) 2019-10-22 14:32:38 -07:00
Jason Di Benedetto
cdd7ff1a42 create @types/lifeomic__axios-fetch (#39227) 2019-10-22 14:26:45 -07:00
Remco Haszing
1db2d563c0 Add types for parse-author (#39236) 2019-10-22 14:21:17 -07:00
t-moennich
10d1d6b990 Add types for react-div-100vh (#39256)
* Add types for react-div-100vh

* Update author profile link

* Add lower typescript version

* Use an up-to-date typescript version

* Remove moduleResolution default value
2019-10-22 14:14:55 -07:00
Brett Mandler
7a93639646 Added definitions for imagemin-webp (#39266)
* Added definitions for imagemin-webp

* Fix tslint errors
2019-10-22 14:09:28 -07:00
Mick Dekkers
595f779e50 Add type definitions for google-ddns package (#39265) 2019-10-22 14:08:24 -07:00
ExE Boss
cc1a4cdb45 chore(gitignore): Ignore *.log files (#39271) 2019-10-22 14:07:17 -07:00
garyking
2f441237fc Add typings for emoji-strip (#39272)
* generate types/emoji-strip dir with dts-gen

* finish emoji-strip/index.d.ts

* finish emoji-strip tests

* Fix version

* More fixes for emoij-strip.

* fix require
2019-10-22 14:06:45 -07:00