Commit Graph

67002 Commits

Author SHA1 Message Date
Carson Farmer
70d072f390 Adds types for existing npm module datastore-level (#40932)
* feat: adds interface-datastore types

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

* feat: adds datastore-level w/ tests

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

* update: simplify interface + options

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

* update: better generics

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

* update: db is optional

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

* feat: default generics

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

* fix: omit default generic types

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

* fix: omit default generic types

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

* fix: missed linter/test catches

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

* feat: expose ops property of batch

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

* fix: linter fixes

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2019-12-10 08:00:58 -05:00
Carson Farmer
dba53a04ff Adds interface-datastore types with tests (#40842)
* feat: adds interface-datastore types

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

* feat: default generics

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

* fix: omit default generic types

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

* fix: missed linter/test catches

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2019-12-10 07:59:23 -05:00
Robby Helms
a7b26a5f90 [@types/parse] 2.10: Stricter Parse.Object attributes type, improve linting, and add tests (#40878)
* parse: Fix tslint issues

* parse: Update ts test cases

* parse: Stricter types for Parse.Object attributes

* Better constructor handling for Parse.Object

* Use keyof T for more attribute parameters and add tests

* parse: Improve Parse.Object method types and add more tests

* Remove Parse.VERSION type as it does not exist in documentation

* Add references for other declaration files to index.d.ts

* parse: Fix constructor types for classes that extend Parse.Object

* parse: Fix Parse.Object child classes

* Return Parse functions to old location for more readable diff

* parse: Remove  for import

* parse: Lint fixes

* parse: Revert to old module declarations for easier diff
2019-12-09 21:55:24 -05:00
Sebastian Silbermann
94ed859516 feat(react-swipeable-views-utils): Add types (#40588) 2019-12-09 15:18:40 -08:00
Ian Luca
ec41facc1a Bookshelf: prettier, methods removed and update options (#40914)
* New require: true documentation

* Remove removed methods

* Add myself to definitions by

* Update version header

* Run prettier

* Add visibility param to Model.toJSON
2019-12-09 17:31:09 -05:00
Lazyuki
9604c51986 [styled-components] Allow static properties to be passed through (#40810)
* [styled-components] Allow static properties to be passed through

* lint

* fix tests

* hoist-non-react-statics like original lib

* fix lint

* fix tests

* remove dependency as it is not required if inside @types anyways

* rm comma
2019-12-09 17:29:12 -05:00
rbarbazz
6d1d0dbcd2 [PapaParse] Add delimitersToGuess to ParseConfig definition (#40803)
* Add delimitersToGuess to ParseConfig definition

* [delimitersToGuess] GuessableDelimiters type and tests added following PR review
2019-12-09 17:24:13 -05:00
Jeremy Albright
141ff986a4 [node/readline] expose line/cursor properties + tests (#40513)
The current "line" and "cursor" states are often necessary when developing applications that use readline for prompts.

See https://github.com/nodejs/node/issues/30347
2019-12-09 12:42:48 -08:00
sjoseph7
3eea7ab402 docs: add usage example & fix: correct fn name for express-list-endpoints (#40809)
* docs: add usage example & fix: correct fn name

* fix: remove patch on type definition version
2019-12-09 14:37:21 -05:00
Chak Shun Yu
9e624679c0 [@types/react-loadable] Remove () => null type definition for loading prop option (#40732)
As that is included in the type definition of `React.FunctionComponent`, which is included in `React.ComponentType`.
2019-12-09 14:35:31 -05:00
Thorbjörn 'Puggan' Sundragon
9d4ba0497a @types/stripe-v3: Element addEventListener and on is alias of eachother (#40652)
* @types/stripe-v3 Element addEventListener and on is alias of eachother

`this.on=this.addListener=this.addEventListener=n` from https://js.stripe.com/v3/

And the documentation for the on-method uses the addEventListener in its exemple.
https://stripe.com/docs/stripe-js/reference#the-element

* stripe-v3: add test for addEventListener()

* stripe-v3: re-order due to linting error

* added 2nd test
2019-12-09 07:32:50 -05:00
thinca
a277fa20b5 Use ExecException for child_process.execFile() (#40896) 2019-12-09 07:31:32 -05:00
Michael Hebron
e2f32d245c Add crossOrigin to SVGAttributes (#40880) 2019-12-09 07:24:39 -05:00
Jack Leigh
01ed977216 ramda: Remove myself from maintainers (#40906) 2019-12-09 07:20:53 -05:00
falsandtru
3aa84acdd6 power-assert: follow-up to https://github.com/microsoft/TypeScript/issues/35566 (#40903) 2019-12-07 18:59:45 -08:00
Filip Stanis
106f446de2 Update AMP validator (#40673) 2019-12-07 15:51:57 -08:00
falsandtru
017bb09970 power-assert: update assert function (#40731)
* power-assert: format

* power-assert: update assert function

* power-assert: update definitions
2019-12-07 14:28:02 -08:00
Elias-Graf
da9b4a8b88 - Added missing property (#40863) 2019-12-07 13:40:07 -08:00
Viktor Hedefalk
48addad317 removes the wrong assumption that headers are alkways set (#40876) 2019-12-07 13:28:38 -08:00
mtgto
0495ae4111 plotly.js: Move direction from Layout to PlotData (#40889) 2019-12-07 12:37:06 -08:00
Michał Ciechan
856744a363 [react-syntax-highlighter] Fix lineProps and codeTagProps (#40753)
Previously good code wouldn't compile because both `props` used
definitions without `React.HTMLProps` which is the correct definition for
the `props object` mentioned in https://github.com/conorhastings/react-syntax-highlighter#props.

All `lineProps` and `codeTagProps` tests have now explicitly defined
`prop` type.
2019-12-07 12:31:24 -08:00
翠 / green
53730360f7 Update KaTeX to v0.11.1 (#40647) 2019-12-06 20:28:09 -08:00
Caleb Clarke
29d3351101 Add "compact" option to Globalize's CommonNumberFormatterOptions. (#40862)
* Added "compact" option to Globalize's CommonNumberFormatterOptions.
This option was introduced with Globalize 1.4.0

* Fixed indentation

Switched from spaces to tabs for consistency with the rest of the file
2019-12-06 18:30:56 -08:00
Victor Lin
2a1f1fc6af [Enzyme] Allow .find() with class component type parameter (#40642)
* Allow .find() with class component type parameter

* add a quick test
2019-12-06 18:29:52 -08:00
Tim
8d4c5a5695 [@types/google.visualization] adding missing tooltip action methods for charts / removing nonexistent methods (#40631) 2019-12-06 18:27:12 -08:00
JP Lew
019d9c6e2d add innerHTML prop and make all props optional (#40501) 2019-12-06 16:48:45 -08:00
Erik Källén
ce68ae1b6d Remove instances of hard-coded strings. At least one of them (for StringNode) was wrong (#40881) 2019-12-06 16:44:50 -08:00
Andrew Goodale
7e83843cd1 [react-native] Fix SectionList component type and add missing methods (#40835)
* Fix SectionList component type and add missing methods

* Replace the "any" with the correct type

* Add `getScrollResponder()` and `getScrollableNode()` methods
2019-12-06 16:42:32 -08:00
Thijs Alofs
827ac349bc [chart.js] Added missing property z (z-index of gridline layer) to GridLineOptions. (#40872) 2019-12-06 16:39:49 -08:00
Tom Bertrand
b98550aab3 Add missing typings for react-mentions v3.3.0 (#40829)
* Add missing typings for react-mentions v3.3.0

* Update react-mentions version in header to 3.3
2019-12-06 16:38:03 -08:00
Raschid J.F. Rafeally
bdaccfdf4b Feature/parse/various (#38878)
* feat(parse): add Cloud job functions; SaveOptions.cascadSave; Object.revert(keys)

* Apply suggestions from code review

Co-Authored-By: Yago Tomé <yagotome@gmail.com>

* refactor(SaveOptions): move cascadeSave opt to its own interface

...in order to keep consistency with the rest of the options.

* refactor: upgrade version to 2.2.9

* fix(Parse.Config): update params for functions `get` and `save`

* feat(LiveQuerySubscription): add default events

* fix(Query): function subscribe() should return a Promise

* improve(File): add missing constructor variations

* bump version to 2.3.0

* feat(Object): add function

* fix(ParseObject): remove  as return type of fetchFromLocalDatastore()

* refactor(parse/File): use union type instead of several constructors

* feat(parse/File): add function getData()

* chore(parse): bump version
2019-12-06 16:37:22 -08:00
Ole André Vadla Ravnås
3b047be851 Sync frida-gum typings with Frida 12.7.25 (#40868)
Changelog at:

        https://www.frida.re/news/2019/09/18/frida-12-7-released/
2019-12-06 16:32:18 -08:00
StraightOuttaCrompton
6f49a850bf Added missing VictoryPortal type definitions with tests (#40748) 2019-12-06 16:31:31 -08:00
Alex Jerabek
c19078e5c2 [office-js, office-js-preview] Specifying table name restrictions (#40867)
* Specifying table name restrictions

* Typo
2019-12-06 16:30:52 -08:00
Aruneko
3c833a19a1 Fix missing argument defintion in nuxtjs__auth (#40840)
* fix missing argument defintiion

* fix type definition
2019-12-06 16:28:28 -08:00
Alex Jerabek
512557d9bb [office-js, office-js-preview] Excel updates from CDN (ExcelApiOnline 1.1) (#40830)
* Excel updates

* Adressing text issues

* Adressing text issues
2019-12-06 15:50:44 -08:00
Pierre-Antoine Mills
e8add0e478 [ramda] cleanup (#40738)
* chore: replace `Ensure` with `Clean` alias

* chore: update ts-toolbelt

* fix: return type of match

* chore: moved type utilities to tools.d.ts

* chore: move merge type utilities to tools

* chore: move merge utilities + info header

* chore: update ts-toolbelt

* fix: lint, tool imports

* fix: import

* fix: comment lint

* fix: lint

* chore: move MergeAll

* fix: export utility types

* fix: lint

* chore: flatten declaration

* fix: typo

* chore: remove references

* chore: remove old project

* chore: move references to OTHER_FILES.txt

* chore: readme

* fix: export global nsp
2019-12-06 15:47:41 -08:00
TypeScript Bot
7ebf9c4e34 Update CODEOWNERS (#40879) 2019-12-06 13:42:31 -08:00
Kyle Tsang
a8a31ebfd7 [reactstrap] Update typings to 8.2 (#40865) 2019-12-05 22:20:01 -08:00
Yuki Ito
914a3f4493 Fix mistakes in getCookiesOption (#40825)
Follow the current documentation
2019-12-05 21:47:37 -08:00
Florian Keller
80c797e024 [geolite2] Update to 2.0 (#40855) 2019-12-05 21:45:40 -08:00
Simon Tretter
ac91d5de65 fix(ioredis): add length property to pipeline (#40847)
the .length property is missing in the current type defintion,
see a6060cb536

regards
Simon
2019-12-05 21:44:13 -08:00
Dmytro Gokun
4d3da63f9e [mapbox-gl] Update mapbox-gl to v1.6.0 (#40851) 2019-12-05 21:43:42 -08:00
millerick
f1cf1c35fc Updated and fixed types for blocked package (#40831)
* Updated types for blocked

* update version

* lint
2019-12-05 21:39:51 -08:00
CameronDiver
eeeb815207 Dockerode: Add RootFS to image inspect typing (#40848)
From: https://docs.docker.com/engine/api/v1.40/#operation/ImageInspect

Signed-off-by: Cameron Diver <cameron@balena.io>
2019-12-05 21:37:51 -08:00
Andrey
32c12c3273 Add new property for type Request (#40823)
Type request missing 'disableDisconnect' property. You can see implementation https://github.com/Atmosphere/atmosphere-javascript/blob/master/modules/javascript/src/main/webapp/javascript/atmosphere.js#L188
2019-12-05 21:36:28 -08:00
Dan Andrews
ac0303be6f Change BlobPart back to string type (#40839)
BlobPart is undefined/not found. The previous return type was a string.
2019-12-05 21:19:12 -08:00
Cory
5b4dcf3b1c (pino) Add definition for logger bindings (#40826)
* Add bindings definition to BaseLogger

* linting fix
2019-12-05 21:11:22 -08:00
Dobes Vandermeer
37f223db37 [parquetjs] optional/repeated are always usable (#40739)
The library will accept optional on a struct (with fields) and
repeated on a normal field (without fields).

 For example, a struct could be optional, or you can have an array
 of integers.
2019-12-05 19:21:45 -08:00
David Uzumeri
4ff87c1a38 Updated View root to be optional (default is even specified in comments) (#40827) 2019-12-05 19:18:43 -08:00