Commit Graph

67002 Commits

Author SHA1 Message Date
Tomasz Pluskiewicz
41a817a924 refactor: simplify iteratee declarations (#41810) 2020-01-23 10:03:14 -08:00
Kazuma Ebina
42656c6bd0 [react-redux] useSelector can infer its return type with shallowEqual (#41540)
* [react-redux] Type inference for shallowEqual

* [react-redux] Test the type is correctly inferred
2020-01-23 10:01:50 -08:00
Kelvin Chu
ae8cb31ff0 [react-native] update Lists props to match flow Maybe Types. (#41804) 2020-01-23 09:58:54 -08:00
Connor Fitzgerald
365d3c585b [oracledb] Upgrade to 4.2 (#41803)
* Allow undefined bind parameters

* Upgrading oracledbto 4.1

* Update version number

* Fix tsconfig typo

* Upgraded to 4.2

* Update version number

* Deprecate lob.close

* Update deprecated message
2020-01-23 09:58:00 -08:00
Richie Bendall
a261943ede feat: Add typings for is-generator-function (#41817)
* feat: Add typings for is-generator

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* feat: Add typings for is-generator-function

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-23 09:57:24 -08:00
Sitong Peng
e19d6aa07a [css-font-loading-module] Add FontFaceSet to WorkerGlobalScope (#41699)
* [css-font-loading-module] Add FontFaceSet to WorkerGlobalScope

* [css-font-loading-module] Test FontFaceSet for WorkerGlobalScope
2020-01-23 09:55:36 -08:00
Emily Marigold Klassen
0eb2c47e27 Fix iso-3166-2 typings as it can return null (#41698) 2020-01-23 09:52:51 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
de4c6bb742 feat(auth0-js): missing cross-origin support (#41796)
- deprecate `crossOriginAuthenticationCallback`
- add missing `crossOriginVerification'
https://auth0.com/docs/cross-origin-authentication#create-a-cross-origin-verification-page

Thanks!
2020-01-22 16:27:33 -08:00
Aled Wassell
92540bcd48 Update Cytoscape index.d.ts adding types "target-distance-from-node", "arrow-scale" and "text-backgr… (#41755)
* Add types "target-distance-from-node", "arrow-scale" and "text-background-padding" to index.d.ts

* Update index.d.ts to remove trailing whitespace
2020-01-22 13:14:10 -08:00
Jozef Sovcik
03e33d61c5 @types/eslint - adding optional data argument to Formatter type (#41772)
* adding definition for optional formatter data argument

* adding basic test

* implementing data arg for ts31

* fixing linter errors

* specifying min TS version

* TS version specified

* trying to fix dtslint bug

* fixing types
2020-01-22 11:17:14 -08:00
Dan Aprahamian
b66fe3db91 @types/long: update to allow easier module augmentation (#41669)
Updates the typings to allow for easier augmentation the 'long'
package for both prototype and static functions.

h.t. to  @DanielRosenwasser for the help with this.
2020-01-22 11:15:57 -08:00
박기완
e52d1cc447 [humps] Change order of function typing to support spread (#41750)
* Change order of function typing to support spread

Array is regarded as Object,
so type of functions are inferred to function returning Object.

* Chore: run prettier

* Fix: re-enable dt-header rule

* Fix: re-enable ban-types rule

* Fix: use recommended lint rules

- Use const instead of let.
- Use arrow functions.
- Make function declarations adjacent.
- Do not use namespace, and export all things manually.
2020-01-22 10:08:22 -08:00
JamieS1211
212f80a60c google-map-react - Added types for util functions (#41598)
* google-map-react Added types for util functions

* Populate other files data

* Capitalise interface name
2020-01-22 10:06:47 -08:00
Dhruv Jain
62dab65992 fix[react test renderer] replace deprecated type ReactType (#41701)
* fix: add PropsWithChildren to ExoticComponent

* fix[react-test-renderer] - replace ReactType with ElementType

* remove react changes
2020-01-22 10:01:43 -08:00
Brian Walendzinski
39ec357087 initial pulsar-client 1.0 types (#41778) 2020-01-22 10:00:37 -08:00
Fabian Lee
57d0019cd1 [react-native-share] Update to v3 (#41782)
* [react-native-share] Update to v3

* fix: move stuff to v1
2020-01-22 09:59:11 -08:00
Stuart Long
88eddeabe2 ramda: add generic typing to Evolver (#41672)
* Add generic typing to Evolver

* Remove partial import

* Fix lint issue
2020-01-22 09:54:48 -08:00
Isaac Huang
e88aced7df Describe Parsimmon.seq and extend Parsimmon.seqMap (#41677)
Use "generic rest parameters" in TypeScript 3.0 to describe
`Parsimmon.seq` and extend `Parsimmon.seqMap` to 10 parameters.

Because it's not possible to type `Parsimmon.seqMap` without
removing the last parameter type from the generic rest type.
2020-01-22 09:45:45 -08:00
mlewando
c432ac3872 add pipeline prameter to model watch method (#41676)
Co-authored-by: KarLew-Pragmatists <karol.lewandowski@pragmatists.pl>

Co-authored-by: mlewando90 <51323011+mlewando90@users.noreply.github.com>
Co-authored-by: KarLew-Pragmatists <52400334+KarLew-Pragmatists@users.noreply.github.com>
2020-01-22 09:44:36 -08:00
andrejak
319e33d32a codemirror: add missing LineWidgetOptions properties (#41687) 2020-01-22 09:40:48 -08:00
Linus Unnebäck
cb13602dd5 [jsonwebtoken] Fix return value when passing json: true (#41694) 2020-01-22 09:35:29 -08:00
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: 7952394493/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