Commit Graph

64056 Commits

Author SHA1 Message Date
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
vbinithyanandamv
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](c478a67646 (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
Elizabeth Samuel
eda7a2372e [office-js] [office-js-preview] (Outlook) Alphabetize and clean up (#37681)
* [office-js] [office-js-preview] (Outlook) Alphabetize and clean up

* Minor cleanup
2019-08-19 10:38:15 -07:00
Waseem Dahman
f104ec4ddf add jest.advanceTimersToNextTimer (#37713) 2019-08-19 10:34:07 -07:00
kyletsang
7afa2627eb feat(reactstrap): Added range to list of allowable CustomInput types (#37723) 2019-08-19 10:33:10 -07:00
Edoardo Morandi
6935049547 Updated hashmap to 2.3.0 (#37460)
* Updated hashmap to 2.3.0

* Changed from quotes to double quotes

* Chaining both `delete` and `remove` funtions

* Reverted to default lints and fixed accordingly
2019-08-19 10:30:07 -07:00
Wilfred Tan
1f2dadb728 @types/notp { New type definition } (#37650)
* [@types/notp]
Initial commit

* [@types/notp]
Code revision and filling up test case

* [@types/notp]
+ Added missing optional 'window' to 'TOTPVerifyOpt'.
# Shortened the names for the interfaces (final)
# Minor edits to comments
2019-08-19 10:25:29 -07:00
Yuri Drabik
235b3182f1 Added types for module compress.js (#37675)
* Added types for module compress.js

* Fixed definition of compress.js
2019-08-19 10:18:47 -07:00
David Kartnaller
2d6e3c5ee4 typings are now bundled within the package (#37725) 2019-08-19 10:10:42 -07:00
Silas Rech
63dccaf6c4 Add .getViewsManager() (#37741) 2019-08-19 10:10:01 -07:00
Eric Wang
5c05e66482 Export interfaces for yarn lockfile (#37742)
* Export interfaces for yarn lockfile

* fix linting
2019-08-19 10:05:41 -07:00
Oliver Joseph Ash
3cd6ad7fa4 Express: use generics for params, default to dictionary (#37718)
* Revert "Express: improve type of `Request['params']` aka `req.params` (#37502)"

This reverts commit 9aa863ef23.

* Express: use generics for params, default to dictionary

* Lint

* Bump all dependants

* Spacing

* Bump dependants

* Bump dependants

* Bump dependants

* Bump dependants

* Bump dependants

* Bump dependants

* Bump dependants

* Bump dependants

* Bump dependants

* Bump dependants

* Bump dependants (via tests)

* Bump dependants

* Bump dependants (via tests)

* Bump dependants

* Simplify test

* Hoist imports

* Tidy test

* Add tests

* Add reasons

* Remove redundant params

* Add tests

* Format

* Remove redundant params

* Add tests

* Add JSDoc

* Improve comment

* Improve comment
2019-08-18 17:47:36 -07:00
Simon Jespersen
518700405e Add types for @testing-library/cypress (#37692) 2019-08-17 13:53:53 +01:00