Commit Graph

63681 Commits

Author SHA1 Message Date
Klára Erlebachová
4e4e8f1d00 [node] crypto: make encryption of private key optional (#37158) 2019-07-31 10:04:14 -07:00
Kevin Lau
4de6099016 [react] Add value attribute to data element (reopen #36771) (#37171)
* [react] Add `value` attribute to `data` element

`<data>` should include `value` attribute in addition to the global
attributes:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data#Attributes

* [react] Add `HTMLDataElement` to global.d.ts
2019-07-31 10:03:08 -07:00
Flexmonster Pivot Table
2988e824bc flexmonster.d.ts update (#37233)
* Added options.chart.axisShortNumberFormat

* validateFormulas option in Flexmonster

* new option properties were added

showFieldListSearch
strictDataTypes

* Added ContextMenuItem.class

* ExportOptions.fontUrl

* Options.caseSensitiveMembers

* new API call added

new API call openCalculatedValueEditor

* requestHeader was renamed into requestHeaders

* Update index.d.ts

simplifyFieldListFolders

* Update index.d.ts

validateReportFiles

* Update index.d.ts

filter.liveSearch

* update getData callbacks

* Update index.d.ts
2019-07-30 15:30:15 -07:00
hi_Haowen
9e86707136 feat: update type definition & docs (#37234) 2019-07-30 15:28:56 -07:00
Linus Unnebäck
7165b78f59 [got] correctly type statusCode & statusMessage (#37211) 2019-07-30 15:27:23 -07:00
AbigailMcP
e0a244294d [@types/cavy] Update generateTestHook function types (#37204)
* Update generateTestHook function types

* Empty commit for Travis
2019-07-30 15:26:15 -07:00
Greg Hurlman
82f8b9305e [powerapps-component-framework] Better location types (#37250)
* Updated types for location data

* Husky tweaks
2019-07-30 15:24:30 -07:00
François-Régis DEBOFFLES
693c9b31ef fixes #37213 (#37221)
Added optional `maxWidth` option to `PopupOptions` introduced in https://github.com/mapbox/mapbox-gl-js/releases/tag/v0.54.0
2019-07-30 15:23:17 -07:00
Kevin Brown
f5a50ceae9 Make offset parameter optional as per docs. (#37229)
The docs and comment above this method indicate that `offset` isn't a required parameter. This change brings the type declarations in sync with that.
2019-07-30 15:22:19 -07:00
Jernej Pregelj
e0f1942d15 Missing resizeHandles optional parameter (#37215)
* Missing option

Adding missing option.

* Specify type

Specify type more clearly.
2019-07-30 15:21:13 -07:00
Nikita Umnov
5a388eedc2 update types/body-scroll-lock (#37219)
* update types/body-scroll-lock

* add types/vue-simplemde

* fix

* fix
2019-07-30 15:20:19 -07:00
Jurij Zahn
4db4970c80 fix listr types (#37232) 2019-07-30 15:19:31 -07:00
michalak111
d21b211f9c Change resourceTitleAccessor return type, remove outdated dayWrapper (#37248) 2019-07-30 14:33:29 -07:00
Derek Sifford
87d4980e4d [@wordpress/block-editor] fix incorrect prop type (#37172) 2019-07-30 14:23:32 -07:00
Adam Rich
29f8e825e5 Make individual Query params optional (#37094) 2019-07-30 14:16:26 -07:00
Ifiok Jr
ed9827eeae feat: add prosemirror-dev-tools (#37191) 2019-07-30 14:15:19 -07:00
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