Commit Graph
63655 Commits
Author SHA1 Message Date
Nikolay Borzov bc79a1caab [yargs] choices accepts numbers (#37177) 2019-07-29 15:44:18 -07:00
Chris Zieba 353d16e1ce [stripe] Add type signature for retrieveUpcoming invoices (#37164)
* Add type signature for data options only

* Remove subscription items

* Remove subscription items

* Update expected

* Update contrib
2019-07-29 14:19:00 -07:00
Rene Haas a7d9a0a0de overlayscrollbars v1.9.0 (#37169) 2019-07-29 14:16:38 -07:00
dimitsqx bc3fb5df3a Add dashStyle to IndividualSeriesOptions (#37155)
dashStyle to use for specific series more info on https://github.com/highcharts/highcharts/blob/8f802d8c7/js/parts/Series.js#L832-#L856
2019-07-29 14:15:24 -07:00
Liam Clarke 71b643e240 Update mapbox-gl to v0.53.0 (#37145)
* Update mapbox-gl to v0.53.0

* Added tests

* Fixed removeFeatureState argument type

* Added missing semicolons

* Added extra test case, clean up

* Removed import added by editor which broke tests
2019-07-29 13:58:40 -07:00
Anders Hejlsberg 47b7924a7d Prepare for TS #32558 (#37167) 2019-07-29 11:33:53 -07:00
Bob Matcuk 579970f8b7 [stylelint] updated LintResult warnings to correct shape (#37143) 2019-07-29 11:14:21 -07:00
brycematheson1234 63a72f76ca Fixed minor missed changes (#37115)
* Fixed missed changes

* Added extra args and made them all optional

* Changed url from URL to string
2019-07-29 10:50:02 -07:00
Utkarsh Kukreti 615769dfcb css-tree: WalkContext.atrule can be null (#37119)
* css-tree: WalkContext.atrule can be null

* css-tree: everything except `root` can be null

Thanks @erik-kallen for the suggestion.

* css-tree: add some more type assertions to the tests
2019-07-29 10:43:02 -07:00
Meir Keller 9838f610fb Added the hl?: string;; prop, with description sourced from (#37112)
* Added the `hl?: string;;` prop, with description sourced from

* Update description to the description defined by the official docs
2019-07-29 10:28:30 -07:00
Chris Northwood 911e65400f Speakeasy: Correct type of counter for verify options (#37055) 2019-07-29 10:10:27 -07:00
Carlos Q 8a1b68be3a [react-native-incall-manager] New types definition (#37156)
* Add locales property

* Add member in definitions by

* reverse

* RN-incall-manager type definition

* Remove public

* Fix array declaration

* Add static

* Fix static, in test do a new

* reverse

* Class to instance of class
2019-07-26 13:46:37 -07:00
Carlos Q c428e33e5c [react-native-webrtc] New types definitions (#37154)
* Add locales property

* Add member in definitions by

* react-native-webrtc types

* fix

* Fix

* Remove other package definition

* remove react-native reference

* Fix typescript version

* Fixes for travis

* Fix version

* type to interface, Function

* Add deviceId in SourceInfo

* Fix statis

* Fix static

* Fix

* Add RTCView

* Add React

* Fix filename

* Add jsx in tsconfig
2019-07-26 11:13:15 -07:00
Lusun 9718dc852d [@types/minapp-env]So far the best preserved declaration files of typescript for weixin mini program (#37018)
* add @types/min-app

* modify min-app-test.ts

* rebuild .d.ts files from  dts-gen

* modified tsconfig.json

* modify min-app-tests.ts

* modefy tsconfig

* modify min-app-tests.ts

* modify tsconfig.json

* add strictFunctionTypes

* modify tsconfig

* change to typescript 2.3

* change lib.wx.clound.d.ts

* change typescript version

* ts version 2.8

* first commit

* changed the project name to minapp-env

* changed the project name to minapp-env

* modified conflict

* solved conflict

* modified conflict

* changed tests name

* modified tslint.json

* modified tslint.json v2

* modified tslint v3

* modified tslint v4

* modified tslint v5

* modified tslint v6

* modified tslint v7

* modified tslint v8

* modified tslint v9

* modified tslint v10

* modified tslint v11

* modified tslint v12

* modified tslint v13

* modified tslint v15

* modified tslint v16

* modified tslint v17

* modified tslint v19

* modified tslint v21

* modified tsconfig v21

* modified tsconfig v22

* modified tsconfig v23

* modified tsconfig v25

* remove wx file

* remove wx file

* remove wx file v3

* remove wx file v6

* remove wx file v6
2019-07-26 11:11:48 -07:00
Paul Hawxby 5678d9a0ba feat: json-buffer typings (#37134)
* feat: json-buffer typings

* fix: linting
2019-07-26 11:07:33 -07:00
Eric Wang 0773a10d01 Add type for yarnlockfile (#37144) 2019-07-26 11:06:30 -07:00
Oleg Lebedev e09173a54d Add types for dogapi package (#37147) 2019-07-26 11:04:04 -07:00
Silver Chen 5d00bf95c3 Added declarations for '@pollyjs/adapter-xhr'. (#37153) 2019-07-26 11:01:32 -07:00
William Furr b3fce084c0 Make ResizeObserver global as it's a browser API. (#37135) 2019-07-26 10:57:12 -07:00
Drazke 4215ed1fab Add type BalanceTransaction for stripe (#37151) 2019-07-26 10:56:20 -07:00
vladimir 0fad232263 [leaflet] Update types for leaflet version 1.5 (#37091)
* Update leaflet types to version 1.5

* Add tests for new SVGOverlay in leaflet.
2019-07-26 10:55:58 -07:00
Stephen Farrar b5d986a145 Add support for asymmetricMatch. (#37146)
See https://jasmine.github.io/tutorials/custom_argument_matchers
2019-07-26 10:55:17 -07:00
Spencer Miskoviak b12a3052a7 Add the ignoreOrder option to MiniCssExtractPlugin (#37140)
* Add the ignoreOrder option to MiniCssExtractPlugin

* Fix linting issues

* Update version number
2019-07-26 10:53:25 -07:00
kenhuman 2b71012c26 Update jsforce interfaces, function definitions (#37021)
* make type optional in create, update, upsert
implement RetrieveRequest, associated interfaces

* fix spacing
2019-07-26 10:50:10 -07:00
Derek Sifford c76ed19786 [@wordpress/editor] add new definitions (#37141)
* add misc helper types to @wordpress/api-fetch

* [@wordpress/block-editor] add missing property to EditorInserterItem

* [@wordpress/editor] add new definitions

* format files
2019-07-26 10:49:17 -07:00
Simon Trény a031f03c2c [detox] Add missing tapBackspaceKey() and tapReturnKey() methods (#37129) 2019-07-25 16:22:58 -07:00
Haseeb Majid cc53e7ccbe Added react-native-app-intro-slider (#37137)
* Added react-native-app-intro-slider

Added react-native-app-intro-slider.

* Fixed pipeline error

Removed semicolon to fix pipeline error.
2019-07-25 16:21:26 -07:00
Michael Crane efa2c81aab Add types for new package @microsoft/typescript-etw (#37138)
* Add types for '@microsoft/typescript-etw'

* Add more authors
2019-07-25 16:20:45 -07:00
kenhuman e244bc5f6b add extract function to CentralDirectory (#37020)
add missing properties to File
add concurrency to ParseOptions
2019-07-25 12:38:04 -07:00
Brian Chen 93d2ff3aad Update Model.discriminator signature and add Map type (#36979)
- updated `Model.prototype.discriminator` with `value` argument
  (see mongoose@5.0.8 / mongoose#6100)
- added `Map` type to `mongoose.Types` and `mongoose.Schema.Types`
  (see mongoose@5.1.0 / mongoose#6287)
2019-07-25 12:32:39 -07:00
mfedderly 9d0023e630 Add types for flatbush and geoflatbush packages (#37113)
* Add types for flatbush and geoflatbush packages

* Cleanup

* cleanup

* fix
2019-07-25 12:19:33 -07:00
Eric Wang bf3b32a1da Add Type to parse-package-name (#37124)
* New: Add parse package name

* add test

* .

* .

* .

* .

* .

* .

* .

* .
2019-07-25 12:18:54 -07:00
Suntharesan Mohan 419827787f Lambda tester strongly type (#37127)
* Apply typing based on `aws-lambda` handler type

* Add confitional check for verifier
2019-07-25 12:16:42 -07:00
Paul Hawxby dcf4bb9cad fix(got): add request to options (#37133) 2019-07-25 12:02:35 -07:00
Kimmo Hintikka 1710f3d757 useNativeDeviceInfo type to support react-native use of amplitude.js 5.2.2 (#37126)
* Update index.d.ts

Added useNativeDeviceInfo to support react native on typescript

* update definitions text

* Corrected userNativeDeviceInfo to useNativeDeviceInfo
2019-07-25 12:00:26 -07:00
Félix VEYSSEYRE 6a5a551178 Add Mongoose model exists type (#37052) 2019-07-25 11:59:49 -07:00
Pablo Saez 1dae31a517 Update index.d.ts (#37122)
As you can check in [line 22 and 196](https://github.com/Automattic/mongoose/blob/master/lib/helpers/populate/getModelsMapForPopulate.js) the populate function can also accept an entire mongoose model.
You can check the [documentation](https://mongoosejs.com/docs/populate.html#cross-db-populate) too where they show this feature
2019-07-25 11:59:03 -07:00
Jason Hoetger cd93da5f10 [stripe] Added types for Paymenet Method API (#37120)
* [stripe] Added types for Paymenet Method API

* Using IListPromise instead of Promise<IList> for PaymentMethods.list

* Auto-formatting updates
2019-07-25 11:58:22 -07:00
Simon Schick 545b3be2ae feat(puppeteer): v1.19 (#37084) 2019-07-25 11:56:39 -07:00
Cruz Molina 70755ec0f5 add deepStrictEqual type (#37116)
* add deepStrictEqual type

* rm trailing whitespace

* fix typo
2019-07-25 11:48:57 -07:00
Eric Hwang 67fb9d962c [sharedb] Export middleware namespace, switch some JSON types to any (#37110)
* It's often useful to pass middleware Context instances into other functions, so export the middleware namespace to allow the Context types to be referenced.
* Loosen some JSONObject and JSONValue to any. This allows access into nested properties, which is a common use-case in Share.
2019-07-25 11:38:10 -07:00
Cahil Foley 3645f6c5db [mssql] Fix incorrect Table and Request interfaces (#37123)
* [mssql] align bulk method signatures with implementation

* [mssql] add optional table path properties

These properties go alongside the optional tableName parameter as per [this part of the table script](https://github.com/tediousjs/node-mssql/blob/6188de3a83c1ce55cf28c1c5875b4a5f7c636de6/lib/table.js#L10-L17)

* [mssql] add optional temporary property to Table class
2019-07-25 11:36:01 -07:00
Harry 5fd76280b3 [stripe] Add expandable properties to checkout session (#37005)
* [stripe] Add expandable properties to checkout session

* Add type assertions to checkout session tests
2019-07-25 11:34:57 -07:00
Prateek Malhotra d376c1624e plaid-link: Update config params (#36992)
Signed-off-by: Prateek Malhotra <someoen1@gmail.com>
2019-07-24 13:10:27 -07:00
Paul Marbach d4a4c4472d [@types/combine-reducers] initial commit (#37090) 2019-07-24 13:06:59 -07:00
sergey12313 f130553d6c Add types for num2fraction (#37101) 2019-07-24 13:06:12 -07:00
Connor Fitzgerald d2ff8e17ea Adding @types/clear (#37102)
* WIP updating oracledb typings to 3.1.2

* WIP

* SODA WIP

* .d.ts done. Needs tests writing

* Finished

* Added pool stats methods. Fixed bug with BindParameter being string or number

* Making _enableStats optional

* Allow parameters to be nulled

* Capitalise namespace

* Update contribution URL

* Revert "Update contribution URL"

This reverts commit f329d293dceaf44832ae3424753c1ccb98378df2.

* Update contribution URL

* Change poolAlias to string. SODA not in preview. Add BindParameters interface

* getRows should not return void

* Added pino-std-serializers

* Adding @types/clear
2019-07-24 13:05:52 -07:00
breeze9527 e7080fe860 Add type definition for non npm-package amap-js-api-station-search (#37106) 2019-07-24 13:03:40 -07:00
Jonathan Mannancheril 5b25a9a40c Add definitions for hide() and show() (#37013) 2019-07-24 12:57:59 -07:00
Michail Shipov 389da87fce add retryCount to Response (#37109) 2019-07-24 12:56:18 -07:00