Commit Graph

29280 Commits

Author SHA1 Message Date
huhuanming
7547cd219a Add React navigation (#16223)
* Add react-navigation Types

* Add actions

Functions : https://reactnavigation.org/docs/navigators/navigation-actions
Note: the `type` option has to be optional because if not, we have to add it when we use one of actions.

* Support of Screen Navigation Options

For Stack, Tab and Drawer

* Add Generic for NavigationNavigatorProps params

* NavigationParams: any type of param

* Add Tab and Drawer Navigators

* Use of ViewStyle and TextStyle

* Improve tsconfig.json && tslint.json

* Add Test

* fix test

* fix lint
2017-05-01 12:35:36 -07:00
Mike Cook
0cefb71e50 Add type definitions for koa-websocket (#16221) 2017-05-01 12:34:37 -07:00
Yousef
0a29ae08a9 fix null in sequelize find (#16219) 2017-05-01 12:29:24 -07:00
Ali Taheri Moghaddar
992ef67dcb [password-hash-and-salt] Add typings (#16073)
* Add password-hash-and-salt typings

* Fix lint error

* Improve export semantics
2017-05-01 07:44:25 -07:00
Dom Armstrong
6c0036b881 Add dottie (#15969)
* Add dottie

* Add dottie
2017-05-01 07:41:29 -07:00
Peter Keuter
5dc27752e4 update mssql definitions to 4.0.1 (#15909)
* update mssql definitions to 4.0.1

* updated tests

* support es6 tagged template literals

* implemented connectionstring constructor

* updated tests
2017-05-01 07:36:19 -07:00
Martynas Kunigėlis
de52c9ccca Quote from Knex source code comments: 'The transactor is a full featured knex object, with a "commit", a "rollback" and a "savepoint" function.' (#16092) 2017-04-28 14:21:27 -07:00
Josh Goldberg
1b25b92cff chai.assert.throws should allow a regexp + message (#16068)
Fixes #16067.
2017-04-28 14:20:25 -07:00
Kat Busch
dc9845e634 [react-bootstrap] Add disable ButtonProps (#16209)
Add an optional extended description…
2017-04-28 14:14:58 -07:00
Federico Caselli
8477fccea4 timeoutCallback is optional (#16197)
Add an optional extended description…
2017-04-28 14:07:55 -07:00
Dmitry Kharitonov
73fb208f98 Update index.d.ts (#16212)
Add `origin` param to `doc.replaceRange`
2017-04-28 14:06:09 -07:00
Pasi Eronen
0aa77fc2b3 joi: add support for array.unique(comparator) (#16200)
Add an optional extended description…
2017-04-28 10:56:46 -07:00
Jeremy Fauvel
cb42760188 Add missing Redirect props (#16195)
Add an optional extended description…
2017-04-28 10:54:07 -07:00
Danny Arnold
d31f645856 fix shortid() not callable (#16193)
Add an optional extended description…
2017-04-28 10:52:41 -07:00
Jakob Mulvad Nielsen
d195893d7b [pixi.js] Fixed definition of renderer options (#16190)
* Fixed definition of pixi.js renderer options

* Fixed missing semicolons
2017-04-28 10:51:11 -07:00
Benjamin
b96c594235 Update raygun definition (#16187) 2017-04-28 10:48:29 -07:00
Daniel Perez Alvarez
44b6460fec Update types for remote-redux-devtools (#16186)
Add an optional extended description…
2017-04-28 10:47:54 -07:00
Joscha Feth
0cd29398f1 popper.js: update type definitions to 1.8.5 (#16159)
* popper.js: 1.8.5: update type definitions

* lints

* Update index.d.ts

* remove copy
2017-04-28 10:45:36 -07:00
Guilhem Brouat
767259eaa9 [openlayers] Added missing functions and configuration property added… (#16167)
* [openlayers] Added missing functions and configuration property added by openlayers 4.1.0

* Added tests
2017-04-28 10:41:13 -07:00
Eloy Durán
ccb4c53092 Merge pull request #16206 from systemride/request-multiple
react-native: PermissionsAndroid should have requestMultiple method
2017-04-28 19:39:16 +02:00
Nick Redmond
4e34161855 react-native: PermissionsAndroid should have requestMultiple method 2017-04-28 09:50:30 -07:00
Yui
931da8b1fb Merge pull request #16008 from DefinitelyTyped/update_react-helmet
[react-helmet] Update react-helmet return type of toComponent()
2017-04-28 08:45:48 -07:00
Michael Zlatkovsky
886cdd2f82 Updated ExcelApi from v1.3 to v1.6 (#16165)
Also minor updates to tests (added one test for `object.set`, and let VS Code auto-format the rest)
2017-04-27 19:02:55 -07:00
Hiroki Horiuchi
812ff4040a Merge pull request #16182 from Reidweb1/master
Added running to CronJob interface
2017-04-28 10:11:11 +09:00
Guy Bedford
52140f1509 NodeJS: ensure process.stdout.columns support (#16178)
* ensure process.stdout.columns support

* make tty stream interfaces optional
2017-04-27 14:57:55 -07:00
Reid Weber
b878b731b0 Added running to CronJob interface 2017-04-27 14:02:22 -07:00
François Wouts
c2bca7cc22 [shelljs] Declare ShellConfig.execPath property (#16171)
* Declare ShellConfig.execPath property

See its usage in
https://github.com/shelljs/shelljs/blob/master/src/exec.js

* [shelljs] Add tslint.json

The tslint.json config includes two exceptions:
- unified-signatures = false because overloaded methods have different
enough purposes to warrant a separate documentation
- max-line-length = false because existing documentation breaks the
rule, and it seems better fixed separately

Code changes are straightforward style changes suggested by the linter.
2017-04-27 11:59:33 -07:00
Nicholas Simmons
ffa30397c2 Add koa-redis type definitions (#16179) 2017-04-27 11:56:45 -07:00
mulles3008
038ab80ad1 Added wait to i18n.Options interface (#16154)
* Added wait to i18n.Options interface

Enables setting global wait-flag. Important for react-i18next>=3.1.0
(https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md#310)

* Added interface i18n.ReactOptions for options specific to react-i18next
2017-04-27 11:06:55 -07:00
Martin Braun
2ca253abd4 Updated type definitions to yFiles for HTML 2.0.1 (#15944) 2017-04-27 10:57:18 -07:00
David Fox
0e13b97820 Use correct response typings in request-promise-native (#16114)
* Use correct response typings

Use `request.RequestResponse` instead of `any`

* Export an alias for request.RequestReponse
2017-04-27 10:43:54 -07:00
Frederick Fogerty
7b2edf2aac Add types for number-to-words (#16162)
Add an optional extended description…
2017-04-27 10:04:15 -07:00
Anthony Rosequist
fc63d5f5cc Added Question.pageSize and enhancing Question.validate in Inquirer (#16160)
* Added pageSize to the Question interface in Inquirer

* Added answers to Question.validate() in Inquirer
2017-04-27 09:53:33 -07:00
Nicholas Simmons
54017f4f76 Add referrerPolicy to helmet type definition (#16134)
Add an optional extended description…
2017-04-27 09:52:24 -07:00
Katsuya Hino
2c5a92b5e2 Add missing "multiple" prop to SelectField of material-ui (#15935)
* Add missing "multiple" prop to SelectField

* Add "selectionRenderer" prop to SelectField
2017-04-27 09:51:24 -07:00
Mark Crawshaw
e44c291ab7 Allow 'styleName' for SVG elements via react module augment (#16004) 2017-04-27 09:50:26 -07:00
John Reilly
df38f202a0 Merge pull request #16175 from johnnyreilly/master
[React] Moved shallowRenderer into react-test-renderer as per
2017-04-27 15:49:30 +01:00
John Reilly
ca84513e84 include missing file 2017-04-27 15:46:14 +01:00
John Reilly
3951802926 change reference 2017-04-27 15:39:05 +01:00
John Reilly
cff3ba9479 [React] Moved shallowRenderer into react-test-renderer as per https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#react-test-utils 2017-04-27 15:26:51 +01:00
Karol Janyst
05efee5a4e Add definitions for react-transition-group (#16117)
* Add definitions for react-transition-group

* Change authors in header
2017-04-27 07:16:54 -07:00
Nicholas Simmons
c340b2e633 Add koa-generic-session types (#16155)
Add an optional extended description…
2017-04-26 15:21:38 -07:00
Jeff Kenney
692a3c7637 hapi: set IServerInjectResponse.result to any type since it is a pre-serialization response (#15794)
Add an optional extended description…
2017-04-26 15:18:33 -07:00
iislucas
908dc2e259 Added missing url/metadata objects for photos. (#15903) 2017-04-26 15:11:38 -07:00
Alan Agius
898f68df32 fix(fs-extra-promise): add missing version (#15915) 2017-04-26 15:10:29 -07:00
Ciarán Curley
250b32ce86 radium: Add radiumConfig prop to StyleRoot (#15916)
* Add radiumConfig to StyleRoot

* Made prop optional

* Add tests
2017-04-26 15:10:05 -07:00
Travis Sturzl
73a64f4aba [hashids] Use class instead of interface (#15920)
* Use class instead of interface

Allows hashids to be used as a type in a property `public hasher: Hashids;` and as a class `this.hasher = new Hashids()`;

* modify tests

* No need for module declaration

* modify tests
2017-04-26 15:09:45 -07:00
Martin Novák
ea0a353f21 React-data-grid: adding Data and DraggableHeader (#15941)
* added Data + DraggableHeader in react-data-grid-addons types

* React-data-grid: adding Data and DraggableHeader

* edit test + more specific Selectors

* change Object to object
2017-04-26 15:02:03 -07:00
Martynas Kunigėlis
86d6ae08ba knex: added declarations for with(), withRaw() and withWrapped() (#15966)
Add an optional extended description…
2017-04-26 14:57:43 -07:00
ghybs
fac0ab9e37 Fix(moment-duration-format): trim "right" (#15970)
is a valid value for `DurationFormatSettings.trim` option.
See https://github.com/jsmreese/moment-duration-format#trim, `trim` can be a `boolean` or the `"right"` string value.
2017-04-26 14:55:47 -07:00