MatejSkrbis
e22df2fffe
[@types/braintree] Added validation error types. ( #37148 )
...
* Added validation error types.
* Removed presumably private interfaces.
2019-07-30 10:47:22 -07:00
TypeScript Bot
bb94c12b91
Update CODEOWNERS ( #37186 )
2019-07-30 10:45:04 -07:00
Tim Düsterhus
f3eb9ef31f
node-forge: Fix typings of ed25519 module ( #37080 )
...
This change makes the functions actually accept what they are documented
to accept based on the error messages. Specifically this allows to pass
node.js `Buffer`s to `sign` / `verify`, instead of needing to convert them
to a `string`, just for forge to convert them back to a `NativeBuffer`
internally.
This also fixes the type for `ed25519.Key`. `ArrayBuffer` does not appear
in forge's source code at all. Instead all functions accept something
containing bytes (i.e. the new `BinaryBuffer` alias) and return a
`NativeBuffer`. I opted to alias `Key` to `NativeBuffer`, because that's
what is being returned by `publicKeyFromPrivateKey` and `generateKeyPair`,
it's a subset of `BinaryBuffer` and does not cause `forge.pki.Key` (which
is the union of RSA and ed25519 keys) to become a kitchen sink type.
2019-07-30 10:14:31 -07:00
Raschid J.F. Rafeally
1c649bd717
fix(stripe): Renamed plans.ITier.amount to unit_amount ( #37190 )
...
See https://stripe.com/docs/api/plans/object#plan_object-tiers
2019-07-30 08:50:46 -07:00
Stephan Meijer
3d6738d37a
remove @deprecated notice from find(query, options) ( #37194 )
2019-07-29 18:08:25 -07:00
spacejack
7a123a7d47
Update types for Mithril 2.0 ( #37118 )
...
* Update types for Mithril 2.0
* Update mithril-global types.
Remove remaining references to withAttr
* Formatting
* Add body property to JsonpOptions
* Formatting
* Improve types, use newer typescript features
* Improve Stream.SKIP type
* Upgrade mithril-global typescript version
* Improve Stream.merge signature. Add needed stream types to tests.
* Remove unused generic param from merge
2019-07-29 18:05:30 -07:00
charlee
fe4e1ab802
mathjs-1539: Added defs for dependencies ( #37188 )
...
* [mathjs] added type definitions for dependency maps
* [mathjs] reformat mathjs-test.ts for tslint
* [mathjs] separate factory and deps func defs
* [mathjs] eslint
2019-07-29 16:10:55 -07:00
Liad Idan
4d0c67d7fb
Fix typos + Add missing properties to VirtualOptions ( #37187 )
2019-07-29 15:57:02 -07:00
Caroline Artz
c9e8253082
[sbd] Add missing optional Options param ( #37184 )
2019-07-29 15:55:35 -07:00
Alex Bolenok
fa2e95cd29
[jest] Improve typings for mocked modules, classes (constructors and prototypes) and functions. ( #37173 )
...
* Prettierify
* Easier typings for mocked functions
Easier typings for mocked classes (constructors and prototype)
Easier typings for mocked modules as a whole
2019-07-29 15:54:40 -07:00
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