Commit Graph
63701 Commits
Author SHA1 Message Date
idmadj 22dffbebe4 [inspectlet-es] New type definitions (#37247) 2019-07-31 15:58:07 -07:00
Gareth Jones 2fab8543dd [global-modules-path] introduce types (#37246) 2019-07-31 14:43:25 -07:00
Jeff Dye 7923edeecc [@mapbox/mapbox-sdk] Added types for mapbox-sdk-js (#37176)
* Initial commit

* Prettier

* 4 spaces here too

* Prettier in the definitions file too

* Once more

* don't believe this is necessary

* Followed common-mistakes

* Add a comment, prettier

* First test failure

* TS version required by geojson

* TS version required by mapbox-gl

* redundant export of interfaces

* jsdoc comment format on 1315

* more test suggestions

* postcommit

* ProgressEvent comes from the js api

* Nicely format these jsdoc comments

* postcommit

* more fixes

* more jsdoc comments, bad interface

* more jsdoc comments

* more comments

* more jsdoc comments

* remove all trailing whitespace

* more comments

* more docs

* whitespace

* postcommit

* so many docs

* more whitespace

* more docs

* more docs

* whitespace

* more tests

* add newline, update tests
2019-07-31 13:58:03 -07:00
Kerminate 33662042fc docs: Readme TOC (#37224)
* feat: create README.cn.md

* chore: add Chinese README

* feat: Switch status badges to Azure Pipelines in README.cn.md

* docs: Readme TOC
2019-07-31 13:30:15 -07:00
Ifiok Jr 432e8369f9 feat: add types for theme-ui (#37210)
* feat: add types for theme-ui

* test: add basic test
2019-07-31 13:05:53 -07:00
Florian Keller b89ae5d373 Add types for phoneformat.js (#37209) 2019-07-31 12:41:45 -07:00
breeze9527 56e12ae019 Add type definition for non npm package amap-js-api-heatmap (#37208) 2019-07-31 11:28:54 -07:00
Tim Ittermann 95264ebcb9 Add input-moment declarations (#37231)
* Add input-moment

* Strings

* Add File to TSConfig (sorry)

* Rename

* Package.json

* change Require

* Require index.d.ts
2019-07-31 11:05:07 -07:00
Alex Jerabek e64c46abc4 [office-js-preview] Updating Excel preview (#37249)
* Updating Excel preview

* Fixing load options
2019-07-31 10:58:52 -07:00
Sergey Fetiskin 0347cc80e5 auth0-js: Adds appState option supported by authorize (#37201)
* Adds appState option supported by authorize

* removed trailing spaces
2019-07-31 10:57:53 -07:00
Juan Manuel Incaurgarat f2c249efa8 Shopify-js-buy-sdk: Updated method name, to match the updated version of the library. (#37205)
* Updated method name, to match the updated version of the library.

The method `removeLineItem` was renamed to `removeLineItems`. See (here)[https://github.com/Shopify/js-buy-sdk/blob/master/tutorials/MIGRATION_GUIDE.md#removing-line-items].
Also updated the type for checkoutId to just 'string', as it is the only possible value.

* Reverted edit in types
2019-07-31 10:22:33 -07:00
Christina Holland 8af4174447 Remove duplicate, set event_category to optional. (#37252) 2019-07-31 10:19:09 -07:00
Manuel Thalmann 59e7099918 Refactor the type-declaration of inquirer (#36708)
* Refactor incorrect tests

* Add export-statements to the exported components

* Add a base-class for prompt-modules

* Externalize the Prompts-type

* Externalize the Separator-class

* Move the ChoiceOption-type to a new namespace "poll"

* Rename the ChoiceOption-type to ChoiceOptions

* Add a choice base-type

* Move ChoiceType to the poll-namespace

* Rename the ChoiceType-type

* Reorder the types

* Convert types to interfaces

* Rename the qeustion-type to "DistinctQuestion"

* Add types for representing optional object-keys

* Add a type for dynamic question-properties

* Fix some question-options

* Ad the `filter`-methjod to the QuestionCommon-interface

* Move uestionCommon to the poll-namespace

* Rename QuestionCommon to Question

* Refactor the question-types

* Refactor the Questions-type

* Rename Questions to QuestionCollection

* Rearrange the namespaces

* Add a type-option to the Question-interface

* Add a ScreenManager-class

* Rework visibility of ScreenManager-members

* Add a Prompt-class

* Force all generic answers to extend Answers

* Add an interface for basic prompts

* Add a PromptConstrructor type

* Add types for the paginator

* Rework the event-submission of prompts

* Fix the type of the run-callback

* Add a generic parameter for the type of answer

* Add types for the Checkbox-prompt

* Make the type of the checkbox-prompt generic

* Add a module for the checkbox-prompt

* Fix js-doc

* Add missing import

* Fix typo

* Add types for the confirm-prompt

* Remove the generic answer-type

* Rework the checkbox-prompt

* Add an editor-prompt

* Add the Choice-class

* Move the choice-class to another directory

* Add a separator-interface

* Fix the separator-class

* Add a choices-class

* Add the separator-type

* Move the objects to the correct location

* Move all external modules to the proper place

* Fix the PromptModule interface

* Convert all internal components to internal modules

* Rework the prompt-type

* Make the choices public

* Fix the editor-prompt

* Move all external modules into the index-file

* Move all remaining modules into the index-file

* Fix incorrect choices-module

* Export the DynamicQuestionProperty

* Add a question-map

* Fix the choicebase-type

* Fix asynchronously fetched question-options

* Improve the handling of choices

* Add an expand-prompt

* Intuitively rework the prompts

* Rework the expand-prompt

* Add the input-prompt

* Add trhe list-prompt

* Refactor all prompts

* Fix incorrect module-export

* Fix the prompt-constructor

* Fix the handling of the question-options

* Add the number-prompt

* Add the password-prompt

* Add the rawlist-prompt

* Add ui-classes

* Add all remaining types

* Fix the generic types

* Remove unnecessary types

* Rework the type-declarations according to tslint

* Complete the docs

* Order the imports

* Add a new author-tag

* Increase the major-version

* Import all unused files

* Fix the AsyncDynamicQuestionProperty

* Improve the docs

* Remove the poll-namespace

* Fix the inquirer-types according to tslint

* Fix dependent type-declarations

* Remove the index-signature from the choice-class

* Fix the constructor of the prompt-ui

* Add tests

* Simplify the PromptCollection-type

* Rearrange the file-header

* Add an interface for the bottom-bar options

* Make the log-stream public

* Complete the docs of the choice-class

* Add a validator-type

* Add a choice-collection type

* Add a Transformer-type

* Fix the PromptModule-type

* Add all inquirer code-examples

* Fix incorrect code

* Rework the way to import the example-files

* Fix dependent types
2019-07-31 10:17:47 -07:00
shadow1349 e713d3b18f [@types/stripe] Updated ITier interface (#37226)
This includes updated with the latest documentation
2019-07-31 10:11:34 -07:00
marcinjendrzejewski c80509ae5a Add sendInvoice signature for Stripe invoices. (#37223)
* Add sendInvoice signature for Stripe invoices.

* Include response and HeaderOptions in signature.
2019-07-31 10:08:54 -07:00
Silver Chen aa76e038e4 Add missing options property for pollyjs__persister (#37218)
* Add missing `options` property

* Make options readonly accordingly to its usage
2019-07-31 10:08:13 -07:00
Roy Razon 947119c984 [yargs] update definition of .completion() to allow hiding it (#37261) 2019-07-31 10:07:32 -07:00
Korotaev Alexander 9155ab18a5 feat(@types/blessed): add type definitions for global utility functions (#37258)
added declarations for escape, stripTags, cleanTags, generateTags
2019-07-31 10:06:24 -07:00
BoruiGu 2696df1a3a [@pollyjs/core] expiryStrategy option (#37254)
* [@pollyjs/core] expiryStrategy option

* unit test

* spacing
2019-07-31 10:05:47 -07:00
Siwakorn Sittilerdpaisal f41a05471c [Auth0] Add username field to DbSignUpOptions (#37259)
* Add username field to DbSignUpOptions

* Update signupAndAuthorize in test case

* update authentication.dbConnection.signup test case

* update authentication.dbConnection.signup test case
2019-07-31 10:05:05 -07:00
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