Commit Graph
41214 Commits
Author SHA1 Message Date
sanjaymadane 0f5e343c13 added ts config and ts lint files 2017-08-10 16:12:03 +08:00
sanjaymadane 34bff710df types support added for openstack-wrapper package 2017-08-10 15:59:01 +08:00
Ruben Schmidmeister d089b32eb1 Add util.promisify types for rimraf 2017-08-10 09:49:57 +02:00
Prannay Budhraja 5cbb71e28c tslint errors fixed again 2017-08-09 19:26:49 -07:00
Prannay Budhraja d3e91997e7 add tests showing that options object's keys are the values of the React select 2017-08-09 19:19:54 -07:00
Prannay Budhraja 363135abfa fix tslint errors 2017-08-09 19:01:06 -07:00
Prannay Budhraja 22f17cf61d select knob options object keys are strings or numbers only
* select knob uses the keys of the "options" object as the selected values, and doesn't support arbitrary types as values. 
* It only supports arbitrary types for the select->option->child. These are the values in options object. 
* The value of the select knob or the selected option however, is still either a string or number. Also, since typescript object key signature can only be either "string" or "number" (but not string | number) we need to specify both types explicitly. 
options : { [s: string | number]: T } does not work.
2017-08-09 18:39:58 -07:00
peter 1debf14af2 fix lint error 2017-08-10 09:37:09 +08:00
peter 71b2d06917 use union type for DashType 2017-08-10 09:20:31 +08:00
Robert K. Bell f5e563cc92 fix: typo 2017-08-10 11:13:48 +10:00
Robert K. Bell 0b95423fc5 Merge branch 'master' of github.com:r-k-b/DefinitelyTyped 2017-08-10 11:11:55 +10:00
Robert K. Bell f7d04025ce Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	types/bunyan/bunyan-tests.ts
2017-08-10 11:11:01 +10:00
Robert K. Bell 84c8c4ea80 Merge branch 'master' into master 2017-08-10 11:05:45 +10: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
Chris Krycho b102312ac9 Change project to URL for htmlbars-inline-precompile. 2017-08-09 13:41:47 -04: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
Leonard Thieu f13a191e66 [jquery] Improve compatibility between Promise types.
Add `pipe(null, null, progressFilter)` overload.
2017-08-09 11:32:01 -04: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
Egor Shulga 1d8a7055cf add withRouter decorator 2017-08-09 15:03:53 +03:00
Roberts Slisans 33a081ccdf M
rge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped
2017-08-09 12:09:15 +03:00
Roberts Slisans 6fb2d86801 Added uniqid definition 2017-08-09 12:05:17 +03:00
Robert K. Bell d86388c8c9 fixes: premature close, file handles, raw streams → stderr
- premature close: don't close the ringBuffer until we're done logging
- file handles: calling child.reopenFileStreams() invalidates the fd
- raw streams → stderr: app dies the moment bunyan pushes a raw log to stderr
2017-08-09 17:46:36 +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
peter 1cefa50242 fix lint error 2017-08-09 14:50:38 +08:00
peter 2f5687402d add missing proterty 2017-08-09 14:42:14 +08:00