Commit Graph

63645 Commits

Author SHA1 Message Date
TypeScript Bot
085fa53e60 Update CODEOWNERS 2019-07-28 11:02:58 +00: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](6188de3a83/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
brycematheson1234
59858d9d64 swagger-ui-dist additional typing (#37067)
* Initial commit

* Making linter happy
2019-07-24 12:55:51 -07:00
Jason Hoetger
1a90baaee6 Added additional properties for Payment Intents (#37054) 2019-07-24 12:54:01 -07:00
Haroen Viaene
4e23957ab6 [airtable]: add extra functions (#37058)
* [airtable]: add extra functions

I got a little lazy at the end trying to figure out what all the parameters are, but at least they're now there, another PR can improve them.

Ref: https://github.com/Airtable/airtable.js/blob/master/lib/table.js#L23

* Update index.d.ts
2019-07-24 12:51:32 -07:00
Haroen Viaene
80fb14bda4 [airtable]: field can also be array (#37060) 2019-07-24 12:48:43 -07:00
Jorge M. Abdalla
7001b59f25 [react-input-mask] Change interface for React [ts 2.9] (#37075)
Change interface for int react-input-mask for new definition on React typescript version 2.9
2019-07-24 12:44:59 -07:00
_haochuan
bf4b5e76bd add optional args support in runloop.run (#37062)
* add optional args support in runloop.run

* add additional tests for runloop.run

* remove trailing whitespace

* remove trailing whitespace
2019-07-24 12:40:56 -07:00
Haroen Viaene
70ba0dd2b4 [algoliasearch] add method addAlgoliaAgent (#37105)
source: 5c1ce13087/src/AlgoliaSearchCore.js (L173)
2019-07-24 12:37:30 -07:00
Tomasz Zabłocki
2ccc2ff364 [@types/redux-orm] fix: correct Model.exists signature and remove Model.toRefArray/Model.toModelArray functions (#37108) 2019-07-24 12:35:09 -07:00
Marais Rossouw
803471797f [relay-runtime]: RecordSource exposes a toJSON method too (#36975)
* chore: RecordSource exposes a toJSON method too

* chore: Use Record from TS
2019-07-24 20:08:29 +02:00
Alex
2830f886c2 Expose futureEmitAssets API (#37093)
* Expose `futureEmitAssets` API

* Fix linter
2019-07-24 07:48:26 +01:00