Commit Graph
64067 Commits
Author SHA1 Message Date
Joris 9c1db51afd Add types for react-immutable-proptypes (#37746) 2019-08-19 15:26:49 -07:00
Andrew Hill ed915d5618 Add asyncUtilTimeout to Config (#37734) 2019-08-19 15:09:59 -07:00
izgeorge 39eddf69f1 allow loop to be boolean or number (#37749) 2019-08-19 15:09:23 -07:00
Juliette Regimbal 853cc1c8da Add headless function for Firefox Options (#37752) 2019-08-19 15:08:48 -07:00
Ifiok Jr aa5b9deff7 feat: update testing-library__react (#37705)
Add pure module types
2019-08-19 15:05:51 -07:00
Jeroen ClaassensandPranav Senthilnathan bbe8520b9e fix(jest-environment-puppeteer): Class & Exports (#37647)
* fix(jest-environment-puppeteer): Class & Exports

This makes the typings actually compatible to create your own test
environment and not just as part of the bigger jest-puppeteer package.
How to do this is pretty much what the test covers. One of the reasons
to do this is to write a handler where Puppeteer takes screenshots after
each failed test, as discussed [here](https://github.com/smooth-code/jest-puppeteer/issues/131)

* Change to `export =` syntax

Co-Authored-By: Pranav Senthilnathan <pranav.senthilnathan@live.com>

* Fix the last stuff requested
2019-08-19 14:55:15 -07:00
Jordy van Dortmont bd2ed19428 Extend the gulp-autoprefixer Options type (#37671)
* Extend the gulp-autoprefixer Options type

* Fix TypeScript version
2019-08-19 14:20:03 -07:00
Imran Nazir d4459b6afc MicroModal.close missing optional parameter from types (#37682)
* addition of targetModal parameter for close

`micromodal.close` can be passed a parameter for the target modal this is missing from the types

* missing ;
2019-08-19 14:18:20 -07:00
Nick Hehr d7cdee2d0b Update ESC API, include Collection class (#37572) 2019-08-19 14:14:08 -07:00
Sergio Arbeo 94f0f93013 Update chromecast-caf-receiver union types to enum in cast.framework.system (#37587)
* Update chromecast-caf-receiver union types to enum in cast.framework.system

* Fix lint

* Fix indentation
2019-08-19 14:10:46 -07:00
Simon Tabor 14f337ea02 [sonic-boom] Add extra constructor parameter types (#37589)
* Add minLength and sync params to sonic-boom

Two new optional params were added to the constructor in 0.7 - minLength and sync. As they're optional, they aren't breaking changes

* Add extra params to sonic-boom
2019-08-19 14:07:14 -07:00
Roman Charugin ce4df95708 Add types for scroll (#37592)
* Add types for scroll

* Remove tslint-rules and change version of the target

* Fix linter errors
2019-08-19 14:05:44 -07:00
Dylan Tack 0069742408 update Stripe.IEvent with request object (#37604) 2019-08-19 14:03:44 -07:00
C Lentfort af99f6ea12 feat(react-native): add global URLSearchParams (#37615) 2019-08-19 13:59:40 -07:00
James Mulholland 55458bae44 React stripe elements token type (#37619)
* prettify

* add TokenType to TokenOptions on createToken
2019-08-19 13:55:58 -07:00
Gunnar 06ddc1ccad create jsmediatags 3.9 (#37180)
* jsmediatags initial

* linting updates

* tag and type updates

* remove currently unused

* unused files error

* consolidate to single index file

* Revert "consolidate to single index file"

This reverts commit fe0b24b49eaa1c8a6ff7ce581980dcc3c5e583a2.

* further restructuring

* Further fixes

* update paths

* Revert "update paths"

This reverts commit 4711549a8e930f548546bbb1d405b015cadcd8c7.

* more attempts at path updates

* simplify jsmediatags namespace

* strip useless comments
2019-08-19 13:37:28 -07:00
Nacim Goura 2443a4722e complete return of DeleteWriteOpResultObject (#37501) 2019-08-19 13:23:00 -07:00
agathekieny 352d73d639 Add package @react-native-community/cli (#37528)
* react-native-community/cli : add types

* react-native-community/cli : add tests and types

* correct types

* pass test

* pass tests with func returns  promise void

* add line breaks for tests

* rename interfaces

* add default function of package
2019-08-19 13:11:24 -07:00
Léo Joseph 15ee6fb20a Add type number for parameter named rule on method scheduleJob (#37549) 2019-08-19 13:05:17 -07:00
Sebastian Silbermann 4b81edcaf8 feat(react-dom): Add async act (#37554)
* feat(react-dom): Add async act typings

* Update version

* Normalize typing with react-test-renderer
2019-08-19 13:02:30 -07:00
Fahad Mansoor f0708acb4b Fixed Type definition to match the actual implementation (#37556)
Now you are able to remove from the `Session Storage`. As the previous implementation only removed from the local storage ( or whatever the current storage type was provided), this was not inline with the underlying implementation.
2019-08-19 12:57:27 -07:00
d3a31dec76 D3 V3 (Added Index as optional parameter in interface Axis tickformat) (#35994)
* Added Index as optional parameter 

Index can be use in tickFormat function. Hence added it as optional Parameter.

* Index updated

* added author

* updated the version

* Added console

* Test Fix

* Update types/d3/v3/d3-tests.ts

Co-Authored-By: denisname <denisname@users.noreply.github.com>

* Update types/d3/v3/d3-tests.ts

Co-Authored-By: Ron Buckton <ron.buckton@microsoft.com>
2019-08-19 12:39:35 -07:00
ltlombardi 2113856740 Knockout mapping return properly typed with TS 2.8 (#36025)
* Small fix

* - fixed KnockoutMappingOptions wrong typing.
- overhall of typing.
- add JSDoc.
- add Undocumented when method doesn't have documentation.
- complete new tests.

* Small fixes for tslint

* Modification to tslint rules

* Changes to match tslint rules

* Improve KnockoutObservableType with Conditional Typings.
- Upped TS version
- Removed semicolons, changed to double quotes
- Better formating

* Mapping of object of type 'any' returns 'any'
- Instead of returning KnockoutObservableType<any> that is useless

* Remove some rules not working as expected

* Remove duplicate not needed any more

* Small fixes

* Small improvement in documentation

* Remove knockout.mapping plugin tests.

* Remove knockout.mapping plugin tests.

* Small fix

Co-Authored-By: Ron Buckton <ron.buckton@microsoft.com>

* Support for more Primitives.
Remove Primitive type from  global

* Small simplification

* Add support for ReadonlyArray

* Formatting

* Reverted quote to maintain consistency with new prettier formating rules in repo.

* Remove bigint. Not supported in TS 2.8
2019-08-19 12:37:55 -07:00
TypeScript Bot 25be8aba83 Update CODEOWNERS (#37750) 2019-08-19 12:36:47 -07:00
Luis Arias 869de6421f Fix passReqToCallback type in passport-azure-ad (#36030)
* Fix passReqToCallback type

Fixes the following compilation error:

error TS2345: Argument of type '{ allowHttpForRedirectUrl: true; clientID: string; clientSecret: string | undefined; identityMetadata: string; passReqToCallback: boolean; redirectUrl: string; responseMode: "form_post"; responseType: "code id_token"; scope: string[]; validateIssuer: false; }' is not assignable to parameter of type 'IOIDCStrategyOption'.
  Object literal may only specify known properties, and 'passReqToCallback' does not exist in type 'IOIDCStrategyOption'.

69     passReqToCallback: false,

* Update according to feedback from @rbuckton
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/36030#discussion_r293151320

* Fix leftover "true"
2019-08-19 12:05:20 -07:00
orblazer 65355267e7 [@types/vuelidate] Add return for async rule (#36159)
* Add return for async rule

* Add missing validation properties

* Remove useless property

* Strict type of custom rules
2019-08-19 12:00:38 -07:00
Connor Fitzgerald 26c41b10db oracledb - Implemented generics for DB results (#37747)
* 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

* Upgrading oracledb to 4.0

* Retained oracledb v3 files. Made requested changes

* Added Buffer to BindParameters

* Implemented generics

* Added tests
2019-08-19 11:25:49 -07:00
Valentin Agachi fff503732c [promise-sftp] Return array from list() (#37738) 2019-08-19 11:24:20 -07:00
orangain ac96b67e36 [react-material-ui-form-validator] Update to v2.0.9 (#37626)
* [react-material-ui-form-validator] Change return type of ValidatorForm.isFormValid for v2.0.7

react-form-validator-core: v0.6.2

* [react-material-ui-form-validator] Add ValidatorForm.removeValidationRule() for v2.0.9

react-form-validator-core: v0.6.4
2019-08-19 11:23:47 -07:00
Burak Shen ab424e5e88 Update index.d.ts (#37693) 2019-08-19 11:21:40 -07:00
domschmidt 1686f3c4be fix for missing 'week' definition (#37740) 2019-08-19 11:21:24 -07:00
Niels fa7211a481 Change 'custom' property in 'Data' Interface (#37739)
* change custom property in data to object

* property can also be a number
2019-08-19 11:19:11 -07:00
Nick Winans 20565740b3 Add contentStyle to Tooltip (#37729) 2019-08-19 11:17:12 -07:00
Slava Fomin II a5200306f9 Extended "overrideBrowserslist" option to support environment maps (#37642) 2019-08-19 11:17:00 -07:00
Brian Jacobel 35ea72f220 Add createDetached definition (#37686)
createDetached was added in [0.24.0](https://github.com/nodegit/nodegit.github.com/commit/c478a676467235352d123f529138e91f85dd1eac#diff-f6876d109ef3a13582ff4775489d636aR118)

Docs: https://www.nodegit.org/api/remote/#createDetached
2019-08-19 11:16:32 -07:00
Trevor Robinson 692bc8ab38 mysql: ConnectionConfig.flags can be a string (#37722)
mysqljs/mysql documents connection flags to be a comma-separated string,
  although it also accepted an array of strings
sidorares/node-mysql2 only accepts a comma-separated string
2019-08-19 11:16:20 -07:00
Teodor Tanasoaia f25108e59f fix label type (#37715) 2019-08-19 11:16:02 -07:00
Andrew Lee b6cfc68f53 Update typing for reactstrap Row (#37697) 2019-08-19 11:13:32 -07:00
Thewsomeguy 189bd67495 Made pttl callback optional in Pipeline (#37706) 2019-08-19 11:00:56 -07:00
Silviu Jingoi 3e01dcc0e5 Make params for refresh() optional (#37680) 2019-08-19 11:00:36 -07:00
Tiago dc4b0cbfa4 Fixed dirty-chai typing (#37658)
To handle Promise type correctly, the result must be a PromisedAssertion like as chai-as-promised
2019-08-19 11:00:18 -07:00
Alexey Immoreev 0a3b8c0096 Recluster extends EventEmitter (#37707) 2019-08-19 10:59:57 -07:00
Joe Flateau 93177988c3 adding myself as a video.js maintainer (#37565)
per #37037
2019-08-19 10:59:38 -07:00
Eric Wang 469a9f65da Additional types for webpack (#37434)
* Add type definition for webpack

* Add types to webpack

* Add types to webpack

* fix test

* fix linting

* fix ts2.9

* fix lint

* change interface to class with static methods

* fix linting

* fix linting

* fix lint

* add requirefn

* .

* ac
2019-08-19 10:48:40 -07:00
Michael Gale b1963014c3 Added missing Chance.postcode() to @types/chance (#37560)
* Added missing Chance.postcode()

* Added test for chance.postcode()#
2019-08-19 10:44:10 -07:00
Crindzebra Sjimo c376b9fcd1 type fixed🐞 (#37699)
Convert error type `Error` to `Error|null`
Fixed WriteCallback's param
2019-08-19 10:42:07 -07:00
Teodor Tanasoaia 7953464b17 update operators to be on par with lua 5.3 (#37694) 2019-08-19 10:41:40 -07:00
skalma 7792bdb6d1 Update to reflect types for mui-datatables v2.8.0 (#37701)
* Update index.d.ts

Added 'custom' to type FilterType and added searchText as string to MUIDataTableOptions

* Update to reflect types for mui-datatables v2.8.0

- Added interface type MUIDataTableFilterOptions as: 
export interface MUIDataTableFilterOptions {
    names?: string[];
    display?: (filterList:string[], onChange: any, index: number, column: any) => void;
    logic?: any;
}
- Changed type of filterOptions in MUIDataTableColumnOptions to MUIDataTableFilterOptions (breaking change if filteroptions is used)
- Added customFilterListRender?: (value: any) => string; to MUIDataTableColumnOptions 
- Added to MUIDataTableOptions: 
     - selectableRowsOnClick?: boolean;
     - rowsExpanded?: any[];
     - onSearchOpen?: () => void;
     - customSearchRender?: (searchText: string, handleSearch: any, hideSearch: any, options: any) => React.Component;

* Added whitespace after colon in line 108, pos 27

To correct travis build failure

* Changed typing of logic in MUIDataTableFilterOptions

As per review i changed the typing of logic in MUIDataTableFilterOptions from <any> to <logic?: (prop: string, filterValue: any[]) => boolean>
2019-08-19 10:41:22 -07:00
Melvin Groenhoff e719acfd6e Remove i18next and i18next-express-middleware and update dependents (#37555)
* Remove i18next and i18next-express-middleware

* Update i18next-node-fs and i18next-printf-postprocessor to use bundled i18next typings.

* Update i18next-ko
2019-08-19 10:39:49 -07:00
Victor Tyazhelnikov 98cdab1985 Fix isMobilePhone function definition (#37577) 2019-08-19 10:39:00 -07:00