Commit Graph
66630 Commits
Author SHA1 Message Date
Evan BroderandArmando Aguirre 2f995d071e [meteor] Make check an assertion function (#41414)
Meteor's check is an assertion function, and Match.test returns a type
predicate. TypeScript 3.7 is expressive enough to capture this. This
lets us reduce duplication in Meteor code (e.g. needing to keep function
parameter types and check calls in sync with each other).
2020-01-08 13:01:05 -08:00
Henrique Cunha Fonseca TorquatoandArmando Aguirre 6aa47fae43 Added new content assistant method definitions (#41467) 2020-01-08 12:57:59 -08:00
Matthew DouglassandArmando Aguirre 96931fa4c6 Adds onFinishCommand method from yargs@15.1 (#41374)
* Moves typings to v13 directory

* Restores typings

* Adds onFinishCommand
2020-01-08 11:40:23 -08:00
Daniel HusarandArmando Aguirre 75a43eb2b2 Add styled component declarations to rebass (#40977) 2020-01-08 11:17:24 -08:00
Hugh RawlinsonandArmando Aguirre d6ea0fb641 Add types for meyda (#41411) 2020-01-08 11:15:53 -08:00
Avi VahlandArmando Aguirre 776836c53a chai-style: add types/tests (#41398) 2020-01-08 11:08:02 -08:00
Vlad-ShcherbinaandArmando Aguirre 53c494183e dygraphs: add missing getRowForX() definition (#41335)
* dygraphs: add missing getRowForX() definition

Documentation: http://dygraphs.com/jsdoc/symbols/Dygraph.html#getRowForX
Source code: https://github.com/danvk/dygraphs/blob/27cee3f7233fbbbeed31f0cf03ea81bf92555b18/src/dygraph.js#L3345-L3372

* dygraphs: Drop type annotations from .d.ts's JSDoc

danvk: "At best they are duplicative and at worst they disagree (as in this case)."
2020-01-08 11:05:52 -08:00
uwinkelvosandArmando Aguirre 3d72e37827 Add types for tz-lookup (#41441) 2020-01-08 11:04:45 -08:00
Nathan Shively-SandersandGitHub ad854e44a2 Fix $ExpectType in new esm package (#41469) 2020-01-08 08:42:15 -08:00
Florian KellerandEloy Durán f1f2a7e50a [jszip] add string output type (#41183) 2020-01-08 16:51:31 +01:00
Anwar GulandEloy Durán e3e0ab9417 Update index.d.ts (#41465)
Fixed Typo.
2020-01-08 16:25:35 +01:00
Arnaud BarréandEloy Durán fd9b438118 Improve null type checking of Platform.select (#41455) 2020-01-08 12:01:38 +01:00
Guy BidkarandArmando Aguirre e8560d9532 Add types for dom-parser (#41291) 2020-01-07 17:06:06 -08:00
Richie BendallandArmando Aguirre c4d3560712 feat: Add typings for esm (#41293)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
2020-01-07 17:04:32 -08:00
ExE BossandArmando Aguirre e816b95a87 feat: Add w3c‑xmlserializer (#41389) 2020-01-07 17:00:56 -08:00
ExE BossandArmando Aguirre 02dea6062f feat: Add domexception (#41390)
* feat: Add `domexception`

* fix(domexception): Hide internal implementation details
2020-01-07 16:58:23 -08:00
Avi VahlandArmando Aguirre 54bbfdba60 dom-matches: add types/tests (#41399) 2020-01-07 16:34:26 -08:00
Kwok Chi LeongandArmando Aguirre 2d34dc1046 [git-semver-tags] Added type definitions for git-semver-tags (#41440) 2020-01-07 15:51:12 -08:00
Peter KooijmansandArmando Aguirre e576ea16e4 Add types for json8-patch (#41449) 2020-01-07 15:35:08 -08:00
Thomas CazadeandArmando Aguirre 1c451788fc [hh-mm-ss]: add types for hh-mm-ss module (#41451) 2020-01-07 15:31:47 -08:00
Kamil SochaandArmando Aguirre 6e560d4643 [safe-timers] Add definitions (#41454)
* Add safe-timers definitions

* Remove not public api, add comments
2020-01-07 15:30:12 -08:00
Erik DalénandArmando Aguirre a33919717d countries-and-timezones: add null return values (#41443)
Some functions can return null when there is no country of timezone corresponding to the input value.
This updates the types to reflect that.
2020-01-07 15:26:11 -08:00
Jon CaruanaandArmando Aguirre 6a8e71b7e5 Fix overly restrictive types. (#41334) 2020-01-07 15:21:26 -08:00
Aziz YuldoshevandArmando Aguirre 8ae07ce306 webpack: Add few missing type definitions on compilation.MainTemplate (#41368)
- adds mainTemplate.hooks.requireEnsure hook
- adds mainTemplate.hooks.localVars hook
- adds mainTemplate.renderRequireFunctionForModule method
- adds mainTemplate.renderAddModule method
2020-01-07 15:17:48 -08:00
Alex BerkandArmando Aguirre 8db5f5a772 [mui-datatables] add property fixedHeaderOptions (#41428)
* add property fixedHeaderOptions

* Update mui-datatables-tests.tsx
2020-01-07 15:16:10 -08:00
Joey RafidiandArmando Aguirre a6550cf254 Fix incorrect PolygonGraphics option being required (#41444) 2020-01-07 15:14:06 -08:00
Robby HelmsandArmando Aguirre 968651a22a [parse] Make Parse.Cloud.run and Parse.Cloud.define generic (#41457) 2020-01-07 15:13:42 -08:00
Oliver Joseph AshandJohn Reilly 1e79b6c502 react-router: pass state generic to history (#41450) 2020-01-07 22:15:31 +00:00
Carson FarmerandArmando Aguirre 56c1ea26b5 feat: types + tests for existing npm module multiaddr (#41413)
Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2020-01-06 17:29:39 -08:00
Carson FarmerandArmando Aguirre 17add4c81b Types + tests for existing npm module multibase (#41416)
* Types + tests for existing npm module multibase

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* feat: include types for names and codes

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2020-01-06 17:26:26 -08:00
rlbaxterandArmando Aguirre cc94d80948 types for Apptimize web sdk (#41433)
* add apptimize__apptimize-web-sdk module

* updates after peer-review with Mike Dodge
2020-01-06 17:17:46 -08:00
0f4d635662 [@types/spotify-api] Update AlbumObjectSimplified and AlbumObjectFull (#41309)
* [@types/spotify-api] Update AlbumObjectSimplified and AlbumObjectFull. Closes #37575

* Fix tests

* Add missing title property to AlbumObjectFull

Co-authored-by: andamanastireanu <45174038+andamanastireanu@users.noreply.github.com>
2020-01-06 16:09:21 -08:00
Dominik RowickiandArmando Aguirre dc4340f3da Add support for forwardedAs to styled-components (#41347)
* Add support for forwardedAs to styled-components

* Test whether as/forwardedAs correctly rejects invalid props

* Revert "Test whether as/forwardedAs correctly rejects invalid props"

The newly added tests pass locally, but fail in automated testing, as per the comment on another case in test/index.tsx:580.

This reverts commit d09acb1eba6250b0761b2d626ce52d8e7df64310.
2020-01-06 16:07:28 -08:00
Max BelskyandArmando Aguirre 1100f122e4 [micromatch] v4.0 (#41406) 2020-01-06 16:05:23 -08:00
TobiasMelenandArmando Aguirre 09f1ffb353 qrcode-svg 1.1.0. Completed input options. Organized and documented from package readme. (#41393)
* Extended options of qrcode-svg 1.1

* Prettier run

* Modified comments from feedback
2020-01-06 15:44:09 -08:00
Jesse KatsumataandArmando Aguirre 5c0fe950c3 react-native-share: add types for components (#41395)
* react-native-share: add types for components

* react-native-share: apply lint

* react-native-share: apply lint
2020-01-06 15:38:23 -08:00
danikazeandArmando Aguirre 6053e951b2 Fix wrong type in blessed (screen.ignoreLocked) (#41397) 2020-01-06 15:36:04 -08:00
Adam KwiatekandArmando Aguirre be4fad3d81 [ui-select] angular-ui/ui-select v0.19.8 (#41401)
* Formatted with Prettier.
* Extended angular.ui.select.ISelectConfig.
* Added angular.ui.select.ISelectController.
2020-01-06 15:35:31 -08:00
Piotr Błażejewicz (Peter Blazejewicz)andArmando Aguirre 8519e88609 Add pagination option. Rework of #41228 (#41381)
* 💄 apply project Prettier

* Add pagination option. Rework of #41228

Thx to @RyannGalea
2020-01-06 15:30:32 -08:00
PopGoesTheWzaandArmando Aguirre 1e125b70f4 20191218 google-apps-script (#41346) 2020-01-06 15:02:59 -08:00
alecfandArmando Aguirre 3959f70df7 flush out D3 scale a bit and add to callback (#41378) 2020-01-06 15:01:43 -08:00
Nathan Shively-SandersandGitHub b50ab5ac9b Fix socketio-wildcard for @types/node@13 (#41432)
EventEmitter is just an interface now, so we have to use the class
provided by `require("events")` instead.
2020-01-06 14:36:32 -08:00
Nathan Shively-SandersandGitHub fbb3688b15 Make ExpectError locations same for TS 3.8 (#41431)
* Make ExpectError locations same for TS 3.8

Error locations changed for some object literals in TS 3.8. This breaks
tests that use ExpectError since the ExpectError needs to be closer to
the actual error.

To fix this, I merged a lot of multi-line object literals into one-line
literals.

* remove stray edit
2020-01-06 14:11:45 -08:00
Raschid J.F. RafeallyandArmando Aguirre 294b40b37a fix(parse/query): missing base attributes in doesNotMatchKeyInQuery() (#41391)
* fix(parse/query): add type of base attributes in doesNotMatchKeyInQuery()

* lint(parse): apply lint changes
2020-01-06 13:50:41 -08:00
kamakiri_ysandArmando Aguirre 2072c9c2c3 fix jsqubits type (#41403) 2020-01-06 13:48:57 -08:00
Dan ManastireanuandArmando Aguirre 6178f7eec3 chore: Remove self from mongoose definition authors (#41423) 2020-01-06 13:13:22 -08:00
Rifa'i M. HanifandArmando Aguirre 2345b8578f [@types/ol] Update to OpenLayers v6 (#41430) 2020-01-06 13:12:33 -08:00
Nathan Shively-SandersandGitHub b837d4636a Update redux type of combineReducers (#41429)
* Update redux-first-router:redux type of combineReducers

It now returns CombinedState<State> instead of just State.

* Also fix @tinajs/tina-redux

* remove unused import in tests
2020-01-06 11:20:25 -08:00
Valentin TolochkoandEloy Durán 32f58bbeea [react-native] fixes StyleSheet.flatten use caused by StyleSheet.compose definition (#41408) 2020-01-06 11:23:40 +01:00
Nathan Shively-SandersandGitHub 1b29bd026a Remove references to obsolete DOM interfaces: (#41387)
1. WindowTimers
2. IDBEnvironment
3. WindowBase64

They are removed in Typescript 3.8.
2020-01-03 15:52:30 -08:00