Commit Graph
33595 Commits
Author SHA1 Message Date
Dimitri Benin 57e1894ced [find-up] add typings (#18838) 2017-08-10 16:38:54 -07:00
Avindra Goolcharan 46888997b8 koa-session: flesh out types for beforeSave and valid hooks (#18789)
* koa-session: make `beforeSave` hook optional

https://github.com/koajs/session/blob/ec88cfb095ddbfa9a0db465e3f9e459fb6f92bec/lib/context.js#L215-L218

* Flesh out types for beforeSave

* add proper types for valid() as well
2017-08-10 16:37:58 -07:00
Björn Lundström 64dc958130 [passport-saml] @cjbarth: nullable SamlConfig.path, it's for ADFS not require and add nullable SamlConfig.cert is needed for response validation (#18729)
* @cjbarth: path is for ADFS not require and cert is needed for validation

* update header Version

* change version back to 0.15

* add tslint.json for tests

* - Add new function in Namespace : ExtractJwt.fromAuthHeaderAsBearerToken()
- Add new Test for ExtractJwt.fromAuthHeaderAsBearerToken()
- clean all tslint issus
- update Version passport-jwt 2.2.1

* Revert "- Add new function in Namespace : ExtractJwt.fromAuthHeaderAsBearerToken()"

This reverts commit 53d7a3e84d73c5cabbc5d7644d411d08699479e9.

* Revert "add tslint.json for tests"

This reverts commit 210c70a2d304b22f238cfc59650a5741301e1a86.
2017-08-10 16:36:28 -07:00
Samuel Marks 8f7501f6f9 [superagent] Added error response type (#18775)
* Added error response type

* ErrorResponse => ResponseError
2017-08-10 16:36:00 -07:00
Geir Sagberg b3c41ab699 [seamless-immutable] Add getIn() (#18788) 2017-08-10 16:35:39 -07:00
Thomas Shafer dd202ec5aa Extract ClientConfig type from init params. (#18791)
This allows API consumers to cleanly construct init params outside of the init call.
2017-08-10 16:35:12 -07:00
Sean Kelley 24a2b58a34 Remove myself as a maintainer of react-redux. (#18801) 2017-08-10 16:34:50 -07:00
Dimitri Benin 51bc9336ac [write-json-file] correct typings for indent and sortKeys options (#18808)
* [write-json-file] correct typings for indent and sortKeys options

* [write-json-file] add tests for new typings
2017-08-10 16:34:29 -07:00
RalfNieuwenhuizen 33377cee63 Add RNFetchBlobStat (#18818) 2017-08-10 16:34:09 -07:00
Larry Bahr b2894b6053 [phonegap-plugin-push] Updates for version 2.0.0 (#18825)
* Added Line Chart Options

http://www.chartjs.org/docs/latest/charts/line.html#configuration-options
showLines - Boolean - If false, the lines between points are not drawn.
spanGaps - Boolean - If false, NaN data causes a break in the line.

* Moved location of property

* Update definitions by

* [phonegap-plugin-push] Updates for version 2.0.0

* Added test for clearAllNotifications

* Added back in HasPermissionCallbackParameters

* Wrong file committed for HasPermissionCallbackParameters change
2017-08-10 16:33:51 -07:00
Shaun Luttin be920333eb Add to the chai Assert interface (#18835)
* Add to the chai Assert interface

* Fix one-line missing whitespace
2017-08-10 16:33:27 -07:00
Andy bb4aa71df3 redux-mock-store: Lint (#18844) 2017-08-10 14:25:15 -07:00
Andy d05322606e redux-mock-store: Remove dependency on the real redux-mock-store (#18843) 2017-08-10 14:11:16 -07:00
Andy 43f36feec5 react-daum-postcode: Remove package.json (#18842) 2017-08-10 14:07:01 -07:00
Dimitri Benin 04266f5f1e [p-map-series] add typings (#18828) 2017-08-10 07:32:15 -07:00
Neek Sandhu 3c171eb098 update types for autosize (#18089)
* Add specific overloads and fix return types

Methods' return type `<T>` is same as passed in arg type `<T>`
Added jQuery overloads

* Add import statement

Users will now need to add `import autosize from 'autosize'` statement

* Remove jquery exclusivity

Previously the header implied the package as jquery plugin but the package is standalone script.

* Fulfill compliance with tslint.json

* Create tslint.json

* Fulfill compliance with tslint.json

* Add noEmit compiler option

* change export default to export = autosize

* Revert back to original tests

* Export global with export as namespace

* Revert back to original tsconfig.json
2017-08-10 06:50:07 -07:00
Andy 3b31f6b181 joi: Remove unnecessary parentheses (#18799) 2017-08-09 13:03:47 -07:00
Andrew Casey 54f92d34f0 Merge pull request #18753 from jgainfort/fix/hlsjs-levels
hls.js API updates
2017-08-09 12:53:50 -07:00
Sukhdeep Singh 5a4f1ea15f Update Materialize-css definitions to version 0.100.1 (#18316)
* Definitions updated to version 0.100.1

* Reverted TypeScript version to 2.3.0 to correct CI build

* fix TypeScript version once more

* Format using tabs
2017-08-09 11:59:50 -07:00
Charles Bunton 93b267aec8 Undeclared DrawItems and Unacceptable Value for contentComponents Attribute (#18359)
* The  method isn't declared type and the contentComponent attribute in  doesn't accept methods that return a react element

* changed drawItems declaration
2017-08-09 11:49:26 -07:00
John Gainfort Jr c03cd18c58 fixed spacing 2017-08-09 12:46:39 -06:00
John Gainfort Jr cad4b8a4fe updated docs to match property type 2017-08-09 12:28:40 -06:00
Marc Fallows bf4b4034c2 Types for react-measure 2.0 (#18273) 2017-08-09 11:05:07 -07:00
Dimitri Benin afa59841f7 [redlock] change Lock to class declaration, simplify LockError definition (#18770)
* add constructors and tests for classes exposed in redlock

* [redlock] simplify Lock and LockError definitions
2017-08-09 10:56:58 -07:00
Simon Schick 135ed17a23 joi: Improve extend typings (#18760)
* joi: Improve `extend` typings

* fixup! joi: Improve `extend` typings

* fixup! joi: Improve `extend` typings

* use TS 2.4
2017-08-09 10:56:27 -07:00
stefanholzapfel 34aff41c75 [meteor] Added optional parameters to Meteor's apply function (#18540)
* Added optional parameters to Meteor's apply function

* Add ramda.traverse (#18424)

* Add ramda.traverse

* Use correct indention

* Added meteor/webapp definitions (#18471)

* Added meteor/webapp definitions

* Meteor modules now seperated

* Fixes #18283 (#18404)

* Explicitly specify possibly nullable types in CodeMirror (#18371)

* Explicitly specify possibly nullable types in CodeMirror

* scrollTo optional args

* Improve Cursor.count (#18504)

* add microrouter types (#18500)

* add microrouter types

* add params field to IncomingMessage

* fix lint

* use micro types for RequestHandler

* Added optional parameters to Meteor's apply function
2017-08-09 10:51:49 -07:00
Andrew Casey d32fb02c30 Merge pull request #18727 from kryops/bunyan/nameFromLevel
[bunyan] add levelFromName and nameFromLevel
2017-08-09 10:51:22 -07:00
Gintautas Miselis 03e66c690a Add type definitions of express-fileupload (#18641)
* Add type definitions of express-fileupload

* Fixed all lint errors
2017-08-09 10:48:12 -07:00
Andrew Casey 07ba976efb Merge pull request #18777 from IzikLisbon/master
isUUID in Sequelize and Validator
2017-08-09 10:46:04 -07:00
Andrew Casey 930716393d Merge pull request #18768 from jrwalt4/react-select-no-result
ReactSelect - noResultsText property can be a React Component
2017-08-09 10:44:37 -07:00
Andrew Casey 23194b2e16 Merge pull request #18786 from joelshepherd/master
[screenfull] Adding new v3.3.0 methods
2017-08-09 10:43:25 -07:00
Andrew Casey a8975975df Merge pull request #18702 from jcreamer898/patch-1
Add HashedModuleIdsPlugin to webpack definitions
2017-08-09 10:41:39 -07:00
otociulis babd09c3ec Adding nodemailer-mailgun-transport definitions (#18584)
* Adding diacritics package

* Adding linter

* Fixing linting errors

* Fixing warnings and errors

* Removing unnecessary namespace

* Adding nodemailer-mailgun-transport definitions

* Updating tsconfig.json

* Updating tests
2017-08-09 10:40:51 -07:00
am 48c8449d4b [adone] introduce typings (#18709)
* [adone] introduce typings

* [adone] refactor to module style

* [adone] set strictNullChecks = true, fix utils test

* [adone] rename tests file, change compileOptions.target

* [adone] add interface namespaces

* [adone] add some util typings, fixes
* util.toposort
* util.GlobExp options
* util.ltgt
* util.fakeClock
* fix loadAsset return type

* [adone] create namespaces for tests

* [adone] create interface for util.fakeClock
2017-08-09 10:37:17 -07:00
Dimitri Benin 6c7066f9b1 [clipboardy] add typings (#18771) 2017-08-09 10:32:17 -07:00
Dimitri Benin 08863b85fc [element-ready] add typings (#18778) 2017-08-09 10:31:49 -07:00
Roberts Slisans 371bffbf56 Added uniqid definition (#18780)
* Created definitions & tests for pick-weight 🎲

* Fix no-single-module

* Added uniqid definition
2017-08-09 10:31:00 -07:00
Dimitri Benin 1cffe21553 [conf] add typings for v1, add strict null checks (#18783) 2017-08-09 10:30:16 -07:00
Dimitri Benin a14233daa6 [del] add typings for v3, enable strict null checks (#18785) 2017-08-09 10:29:07 -07:00
Jonathan Creamer 2ca09c9734 Add tests, run lint 2017-08-09 09:50:18 -05:00
mad-mike ba5f95bae7 [@sap/xsenv] Add types for @sap/xsenv module (#18605)
* Add types for @sap/xsenv module (available on SAP Service Marketplace or https://npm.sap.com)

* Fix linter errors

* Switch to path mapping instead of declare module

* Rework links to documentation

* Fix linter message
2017-08-09 07:04:48 -07:00
Torgeir Hovden 245998780e Add missing option callback arg to setProps (#18215)
* Add missing option callback arg to setProps

* Allow callback only on ReactWrapper, ref. @MartynasZilinskas comment
2017-08-09 07:02:00 -07:00
Mikko Vuorinen 2eff7af876 [hellojs] Update definition for 1.15.1 (#18318)
* [hellojs] Add/modify tests for latest version

* [hellojs] Update definition to latest version

Modify interfaces to reflect version 1.15.1 codebase.
Add definition for hello.util.
Simplify thenable definition.

* [hellojs] Add missing method definition

Include api() definition when calling with options object.

* [hellojs] Add tslint.json and fix linting errors

* [hellojs] Use TypeScript 2.3

Set TypeScript version to 2.3 to avoid errors with object-type.

* [hellojs] Switch to PromiseLike

https://github.com/DefinitelyTyped/DefinitelyTyped/issues/17251

* [hellojs] Remove unused interface

* [hellojs] Rename namespace and add export

Add default export for static hello-object.
Rename namespace to hello so that the namespace as well as the hello-object will be exported.

* [hellojs] Remove redundant 'export' keyword
2017-08-09 06:58:24 -07:00
Joel Shepherd 97427521b2 Adding new screenfull methods 2017-08-09 23:50:28 +10:00
Izik Lisbon f668da13f4 Sequelize is using Validator to validate that a string is a UUID. Validator supports 4 versions of UUID:
https://github.com/chriso/validator.js/blob/b59133b1727b6af355b403a9a97a19226cceb34b/lib/isUUID.js#L14-L19

Update Sequelize's typescript to include `all` and change `number` type to a more specific type (3|4|5).
Update Validator's typescript to be more specific. instead of `string | number` set the enum values (3|4|5|all)
2017-08-09 00:01:33 -07:00
Michael Strobel cda63c85ed Add minimum TypeScript version 2.1 to types depending on bunyan 2017-08-09 08:20:19 +08:00
Walton, Reese 751d76cfc5 noResultsText can be React Component 2017-08-08 19:06:21 -04:00
Nathan Shively-Sanders 825d361b8e Merge pull request #18714 from DefinitelyTyped/improve-vis-locales-types
vis: Add types for Options.locales
2017-08-08 15:36:52 -07:00
Miika Hänninen 7f30cbcfe9 Fix unfold step function return type (#18692) 2017-08-08 14:46:39 -07:00
Stéphane Goetz f6e30f1669 Add scope?: string to Td HTML attributes (#18381)
This attribute exists on both <th> and <td> but is present only in <th> currently: https://www.w3schools.com/tags/att_td_scope.asp
2017-08-08 14:43:27 -07:00