Commit Graph
66881 Commits
Author SHA1 Message Date
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
Oliver Joseph Ash a09aa0ec09 react: Children.map: replace overload with conditional type (#41771)
* `react`: `Children.map`: replace overload with conditional type

* Document
2020-01-22 09:27:29 -08:00
Jonathan Regeimbal b406bc6d23 Fix more return types for Vertices methods (#41777) 2020-01-22 09:23:55 -08:00
Elizabeth Samuel 5f24342b72 [office-js] [office-js-preview] (Outlook) Refine mailbox.item (#41775) 2020-01-22 09:23:26 -08:00
Tomasz Pluskiewicz fed60e05ad fix(clownface): in and out can be called without parameters (#41784) 2020-01-22 09:23:02 -08:00
evan-hughes d6fa35195d Make fields readonly, constructor more permissive (#41786) 2020-01-22 09:20:35 -08:00
Callum Macrae 150252eda4 fix(theme-ui): add missing css function (#41567)
* fix(theme-ui): add missing css function

* fix(theme-ui): ignore change made by prettier that was causing test to fail

* Add @emotion/serialize to tsconfig.json paths

* Update comment for theme-ui css function

* Remove emotion__serlialize from paths
2020-01-22 08:31:49 -08:00
Caleb Eggensperger 1326b348ff Update webmidi typings (#41300)
* Update webmidi typings

* Add eventlistener overloads
* Update 'type' field to string literal to allow for use as a
discriminated union

* Fix lint

* Update comment

* Fix lint & tests
2020-01-22 08:23:07 -08:00
Siggy H d21e32460f edited types to allow onSelect to be able to handle a single moment object and a range, (previously was only handlng a range) (#41693) 2020-01-21 17:15:35 -08:00
Bumsik Kim b3b3305bd8 [emscripten] Fix and improvements for 1.39.5 (#41621)
* [emscripten] Add module loader when -s MODULARIZE=1 enabled

Add Module() call and Module().then(callback).
Related: https://emscripten.org/docs/getting_started/FAQ.html#how-can-i-tell-when-the-page-is-fully-loaded-and-it-is-safe-to-call-compiled-functions

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Move runtime functions to the global space

All of these runtime functions are removed more than a year ago.
Related: https://github.com/emscripten-core/emscripten/blob/79523944931f526c4b1c2a92e1a826475c987a2b/src/settings.js#L674-L685

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Add missing runtime methods

* [emscripten] Make FS methods more accurate

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Make function signatures more accurate

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Runtime is removed

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Fix test and add stack alloc test

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Add contributor: Bumsik Kim

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>

* [emscripten] Bump version: 1.39.5

Signed-off-by: Bumsik Kim <k.bumsik@gmail.com>
2020-01-21 16:48:16 -08:00
Gareth Jones 8036fc4dd8 [eslint] add usedDeprecatedRules property (#41706) 2020-01-21 16:42:14 -08:00
Adam 66704170b7 [newman] Updates for Newman version 4.5 (#41466)
* Fixing newman types.

* Update version number.

* Fixing linting issue.

* Adding a test for newman.

* Adding more tests.
2020-01-21 16:41:00 -08:00
aoi-umi 16ccc32534 [mathjs] generic (#41242)
* generic

* fix LiteralType

* lint
2020-01-21 16:40:11 -08:00
Vincent Breitmoser 032e7f841f elliptic: signatures can be constructed from flexibly encoded DER types (#41652) 2020-01-21 16:37:43 -08:00
Stuart Olivera 7397dcc6d0 [react-measure][fix] Support useRef for innerRef prop on Measure (#41661)
* [react-measure][fix] Allow RefObject for innerRef prop on Measure

* Fix semicolons
2020-01-21 16:26:02 -08:00
Piotr Błażejewicz (Peter Blazejewicz) b8a56bd21b fix(async): correct 'drain' method defs. Closes #41648 (#41665)
http://caolan.github.io/async/v3/docs.html#cargo
http://caolan.github.io/async/v3/docs.html#QueueObject

Thanks!
2020-01-21 16:22:54 -08:00
Florian Keller 5062ff431f [@hapi/hawk] Add types for @hapi/hawk (#41702) 2020-01-21 16:17:32 -08:00
Rob Richard 8e8b6b6735 Update relay-runtime environment.check to return OperationAvailability (#41774)
* Update relay-runtime environment.check to return OperationAvailability

* Update relay-runtime environment.check to accept CheckOptions

* fix variable names
2020-01-21 19:13:07 -05:00
Ranjit Singh 02a8a9d705 [@types/object-fit-images] added new type definitions (#41742)
* [@types/object-fit-images] added new type definitions

* [object-fit-images] set strictNullChecks to true

* [object-fit-images] updated type definitions + reverted tsonconfig object-hash
2020-01-21 16:10:36 -08:00
Jamie Magee 1dbf1d0293 Add types for semver-stable (#41756) 2020-01-21 16:09:22 -08:00
Cameron Hunter 3486195fa5 yargs: Add Argv<T> as a third parameter to fail's callback (#41722) 2020-01-21 15:50:41 -08:00
AlCalzone b386065c27 [ioBroker] make the options parameter in adapter.getObjectList optional (#41754)
* [iobroker] make the options parameter in adapter.getObjectList optional

* update version number in the header
2020-01-21 14:17:25 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 8cf009dc5e feat(auth0-js): missing v9 implementation (#41746)
- `patchUserAttributes`
- authentication callback options typed as `Auth0Result`
- typed results for Popup.authorize
- minor typos

Thanks!
2020-01-21 14:14:39 -08:00
Roland Reed 83d2844d2e update anyproxy proxy manager types (#41640) 2020-01-21 13:39:45 -08:00
Jonathan Regeimbal ef26487b4d Fix return value of Matter.Vertices.create() (#41749)
Matter.Vertices.create returns an array of vectors:
```
EG: body.vertices = Vertices.create(vertices, this.body);
```
2020-01-21 13:38:00 -08:00
Hiroshi Kikuchi 2b48897a4f Add fields of configuration of "in-app-purchase" (#41759)
* Add fields of configuration of "in-app-purchase"

* fix verioning mistake

* Fix type deference of PurchasedItem

* Add facebook service
2020-01-21 13:37:08 -08:00
Jeff Huijsmans 56904146bc [@types/blessed] Fix Blessed typings (allow number and string too) (#41757) 2020-01-21 13:36:00 -08:00
Curtis Maddalozzo c4256eccb2 [mongoose]: Add type for validator message function (#41630)
* Add types for almost-equal

* Add strictFunctionTypes to config

* Use number type for comparison args

* Add type for validator message function
2020-01-21 13:35:08 -08:00
Morten Friesgaard a117bea300 Adds chrome.cast.media.LiveSeekableRange to chrome/chrome-cast and chromecast-caf-sender (#41752)
* Adds LiveSeekableRange

LiveSeekableRange is required when seeking in a live buffer

* add constructor for LiveSeekableRange

* adds liveSeekableRange to RemotePlayer

* adds liveSeekableRange as RemotePlayerEventType
2020-01-21 13:34:08 -08:00
Fabian van der Veen 6f02cfde41 sax: SAXParser.tag is of type Tag (#41763)
https://github.com/isaacs/sax-js/blob/d65e3bb5049893aaab4aba05198b9cd335b5a1ad/lib/sax.js#L684
2020-01-21 13:33:17 -08:00
Johan Fagerberg d01dbee933 [rehype-react] Add Fragment option, update which options are optional (#41600)
* [rehype-react] Add Fragment option

Usually this will be `React.Fragment`, but it accepts any component.

* [rehype-react] Update which options are optional

Most options have healthy defaults. Only `createElement` is required.

* [rehype-react] Update version number

* [rehype-react] Update tests to include Fragment option
2020-01-21 13:14:03 -08:00
David Stephens 4331db7e1c express-serve-static-core-tests: Update req.is to match the actual function in express (#41636)
* Update `req.is` to match the actual function.

The parameters can be a string or an array and return type can be null.
This is described in the JSDoc for the function:
https://github.com/expressjs/express/blob/e1b45ebd050b6f06aa38cda5aaf0c21708b0c71e/lib/request.js#L273

* Add a couple of extra tests
2020-01-21 13:12:22 -08:00
Esteban Ibarra 30446eb4a4 [@types/victory] Add singleQuadrantDomainPadding type to victory (#41764)
* Add singleQuadrantDomainPadding to victory

* Add correct version and semicolons
2020-01-21 13:09:20 -08:00
Elizabeth Samuel 2b70a19f1a [office-js] [office-js-preview] (Outlook) Move SourceProperty to MailboxEnums (#41768)
* [office-js] [office-js-preview] (Outlook) Remove SourceProperty

* Move SourceProperty to MailboxEnums
2020-01-21 13:08:42 -08:00
James Hill 94d9b425ee kurento-client package definition file (#41126)
* Added initial declaration file for client

* Added missing complex types function

* Added initial module format definition

* Re-factored types to export detailed interfaces

* Fixed linting errors

* Added test file for definitions

* Added tslint comment for default export

* Fixed options incorrectly being required

* Added connect and disconnect methods for endpoints

* Re-named connect argument to sink to match docs

* Added media element interface to extend webrtc endpoint

* Changed media element method to use strict element type

* Added missing close method for main class

* Refactored type structure to match commonjs
2020-01-21 12:04:03 -08:00
Nathan Brown d247933faa [reactstrap] Update Tooltip and Popover to add RefObject as a target (#41552)
* [reactstrap] Update Popover to add RefObject as a target

* [reactstrap] Add to the test the usages of React.RefObject

* [reactstrap] Update Tooltip, Popover, and Collapse to add RefObject as a target

* [reactstrap] Remove RefObject from Collapse definition
2020-01-21 09:50:16 -08:00
Wojtek Czekalski be840b6e1d react-native: Add WebSocket ready state constants (#41637)
As defined in the React Native repo.
https://github.com/facebook/react-native/blob/master/Libraries/WebSocket/WebSocket.js#L59-L67
2020-01-21 09:48:59 -08:00
David Ernst 070fa8d410 [react-native]Picker.style expects TextStyle (#41729)
The package itself says it's expecting a `TextStyle`, not a `ViewStyle` (https://github.com/facebook/react-native/blob/84adc85523770ebfee749a020920e0b216cf69f8/Libraries/Components/Picker/Picker.js#L62). 

Specifically, setting this to `ViewStyle` causes Typescript to complain if you try to set a `color` property, which does in fact work.
2020-01-21 09:48:13 -08:00
KentarouTakeda 1222cab18e Add types of ChartPoint, ChartData. (#41710) 2020-01-21 09:43:21 -08:00
Kelvin Chu 6e8c5f5b00 [react-native]: add message to WebSocketCloseEvent. (#41731) 2020-01-21 09:35:55 -08:00
Felix Haus 6b15eefb54 [webpack] Add definitions for upcoming release (#41736)
* webpack: Adds definitions for v5 release

* webpack: Move webpack-tests.ts -> test/index.ts
2020-01-21 09:34:44 -08:00
Jack Wearden 96dfce7a5d highland: convert spaces to tabs and add tslint rule (#41717) 2020-01-21 09:30:49 -08:00
AlCalzone 8189cbe230 [iobroker] add definitions for the integrated objects and states cache (#41753) 2020-01-21 09:16:07 -08:00
Oliver Joseph Ash 4fef8e2c33 react: Children fixes (#41760)
* `react`: `Children.map` fixes

https://reactjs.org/docs/react-api.html#reactchildren

* Refine return type

* Apply same changes to `toArray`
2020-01-21 15:13:53 +00:00
John GozdeandSebastian Silbermann 903eaaf06d Add @testing-library/jest-dom (#37792)
* Add @testing-library/jest-dom

* Fix global test

* Update jest-dom typings for (future) v5

- Remove module typings
- Sync global typings with latest version

Apply suggestions from code review

Co-Authored-By: Sebastian Silbermann <silbermann.sebastian@gmail.com>

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-01-21 14:42:30 +00:00
Jan Aagaard 4ab4fa9c80 Use union types instead of overloads (#41596)
* Use union types instead of overloads

* Format with Prettier
2020-01-21 04:29:33 -05:00
Stephane Moser 06ed23b54b Add types to library x509.js (#41713)
* Add files for types

* Fix lint issues

* Add tests

* Remove test data
2020-01-21 04:28:26 -05:00
John Simon d0c3a91328 When act is not async, don't return a Promise-like (#41496) 2020-01-20 19:37:05 -05:00