Commit Graph

35766 Commits

Author SHA1 Message Date
Andy
e2ac4b9aa4 mongoose-simple-random: Convert to external module (#20083) 2017-09-27 13:26:14 -07:00
Eloy Durán
aca6775acc Merge pull request #20086 from simontreny/master
[react-native] Add missing extractOffset() methods and Animated.ScrollView
2017-09-27 21:50:01 +02:00
Simon Treny
edc8fad69e Add missing extractOffset() methods and Animated.ScrollView 2017-09-27 21:34:31 +02:00
Tsvetomir Tsonev
920282c8b8 fix: allow custom filters (#20070) 2017-09-27 11:48:50 -07:00
Ed Staub
146a036764 Add onClick to Avatar, Chip (#20079)
* Add onClick to Avatar

This superficially addresses https://github.com/DefinitelyTyped/DefinitelyTyped/issues/19988, which should probably be closed when this is pulled, for lack of interest.

* Added onClick to ChipProps
2017-09-27 11:46:24 -07:00
Andy
e1ab501c77 iframe-resizer: Convert to external module (#20082) 2017-09-27 11:44:54 -07:00
Andy
04b6461078 popper.js: Fix lint (#20084) 2017-09-27 11:38:07 -07:00
Andy
170d964e0c express-flash-2: Convert to external module (#20081) 2017-09-27 10:25:21 -07:00
kgtkr
95c1a63c29 bug fix:"File '/node_modules/@types/kuromoji/index.d.ts' is not a module." (#20066)
add tslint.json
2017-09-27 10:06:40 -07:00
Sami Kukkonen
12aadc15ff Add declarations for end-of-stream 1.4 (#20076) 2017-09-27 09:58:28 -07:00
varHarrie
2ed062b309 Add declarations for 'react-beautiful-dnd' (#20060)
* Add declarations for 'react-beautiful-dnd'

* Add missing header

* Fix lint issues

* Fix mistake

* Remove personal tslint rules
2017-09-27 09:57:18 -07:00
Sami Kukkonen
30fc08047d Add declarations for koa-range 0.3 (#20071) 2017-09-27 09:56:26 -07:00
Ricardo Azzi Silva
7f7f502db8 Types for cordova CanvasCamera plugin (#20061) 2017-09-27 09:55:43 -07:00
David Bird
782ba8d828 Add declarations for 'countries-and-timezones' (#20055) 2017-09-27 09:54:36 -07:00
Benjamin Lichtman
36318f37a4 Merge pull request #19830 from elton2048/soundmanager2
Add definitions for soundmanager2
2017-09-27 09:03:35 -07:00
Andy
aae7c6c8df plotly.js: Fix no-self-import (#20075) 2017-09-27 08:03:26 -07:00
Tom Wanzek
93a95b5da0 d3: (#20059)
* [FIX] Add missing `version` property
2017-09-27 07:01:51 -07:00
Elton Lee
20be6ea0ab Change the way to express type.
Fill all methods correspond to the library.
2017-09-27 13:02:15 +08:00
Ricardo Azzi Silva
7bce34cb90 Type definition for Lazar Laszlo's jsqrcode lib (#20051)
* Mapeando a estrutura mais simples da biblioteca e criando um tsconfig.json para as definições

* Unindo todas as definições em um único arquivo e adicionando alguma documentação

* Criando modulo fantasma

* Adicionando autoria

* Removing all any type, creating tsconfig.json and tslint.json

* Reviewing some of the warnings of tslint

* solving the problems indicated by tslint

* Setting 'strictNullChecks' flag as true
2017-09-26 16:42:24 -07:00
dkamburov
53ec5bb80c Update Ignite UI typings, adding some missing event properties (#19934) 2017-09-26 15:58:36 -07:00
Jazcash
18e5eee762 Added objectMode option (#19360) 2017-09-26 15:55:13 -07:00
Denis
66b7f0819d Allow access to custom GeoJSON properties @types/geojson (#19845)
* Allow access to custom GeoJSON properties @types/geojson

* Specify Typescript Version 2.2

* GeoJSON replace properties with "any"
2017-09-26 15:54:09 -07:00
Melvin Groenhoff
e1a2d5cfc4 Allow to assign result of Sequelize.where() to where clause in find options. (#19962) 2017-09-26 15:51:05 -07:00
Oleg Vaskevich
a7c466fd5b Add missing ReactDOM Simulate event methods (#19980)
* Add missing ReactDOM Simulate event methods

Simulate has a method for every event that React understands.

Source: https://facebook.github.io/react/docs/test-utils.html#simulate

* Fix ordering
2017-09-26 15:50:24 -07:00
Pete Vilter
d2260fff79 Fix dagre types to allow objects to be set as default edge labels (#19945)
The tests call `.setDefaultEdgeLabel(() => {})` which is a translation
to ES6 of something seen in the example in [Dagre's
readme](https://github.com/cpettitt/dagre/wiki#an-example-layout):
`g.setDefaultEdgeLabel(function() { return {}; });`. However, the
translation is botched: `() => {}` doesn't return an empty object, it
returns `undefined`, because `{}` is not an object literal, it's a
block with 0 statements.

I think this is what motivated the current typing to specify that `void`
can be returned by the callback. However, in my experience returning
`undefined` from this callback causes the library to crash. Thus I've
chagned the tests to say `.setDefaultEdgeLabel(() => ({}))` (i.e.
actually return an empty object, which is what the author probably
intended), and updated the types accordingly. This works in my project.
2017-09-26 15:50:00 -07:00
Kevin Greene
a9f4a8a9e6 [node-int64] Updating for missing methods, props and constructors (#20053)
* Supports constructing from number
  * Support the public buffer and offset properties
  * Support all method signatures of the setValue method
2017-09-26 15:44:38 -07:00
mad-mike
b9c5f4a535 [pify] Update to version 3.0.0 (#20038)
* [pify] Add missing option errorFirst

see https://github.com/sindresorhus/pify#errorfirst

* [pify] Migrate promiseModule

* [pify] Update definitions to version 3.0.0
2017-09-26 13:00:09 -07:00
Christian Rackerseder
bdad2b46d6 [loglevel] Refactored and added log.levels property (#19742)
* Refactored loglevel

* Fixed linting errors

* Moved tests to dedicated test directory
2017-09-26 11:45:56 -07:00
Adrian Leonhard
2aa66e9396 [mz] Added fs.mkdtemp (#19928) 2017-09-26 11:43:03 -07:00
Fábio Paiva
5e4682a0ba Add new properties from Bootstrap Beta to Navbar (#19940)
Reactstrap Navbar new properties tests

Add contributor to be notified on changes
2017-09-26 11:42:31 -07:00
jshaker
8462fea245 Add null as a type for bsStyle in ButtonProps to allow for custom classes (#19941) 2017-09-26 11:42:08 -07:00
Alessandro Vergani
f88f85476f Add missing node-ipc configuration options (#19942)
* Add missing options

* Use method signature
2017-09-26 11:41:54 -07:00
bodeyb
a06bec94c5 Adds missing scrollbarStyle EditorConfiguration attribute (#20050)
[Codemirror documentation](http://codemirror.net/doc/manual.html) (search for `scrollbarStyle`)
2017-09-26 11:41:14 -07:00
Andrey Kurdyumov
82ace18841 [react-bootstrap-table] Add thStyle, tdStyle, tdAttr properties to TableHeaderColumn (#19910)
* Add thStyle, tdStyle, tdAttr properties to TableHeaderColumn
Also style apply TSLint rules where it was fast to implement without introducing issues.

* Fix missed TSLint warnings
2017-09-26 11:40:20 -07:00
Shashank
71d4497212 visible property added in IndividualSeriesOptions interface. (#19955) 2017-09-26 11:29:43 -07:00
Christian Kotzbauer
d9fbc767e8 updated extended-listbox to 4.0.0 (#19943) 2017-09-26 11:27:57 -07:00
Chris Bargren
93143f1963 Fix type definitions for Hapi load configuration property (#19949)
Any or all of the properties in the load configuration object can be defined.
2017-09-26 11:26:42 -07:00
Morgan Benton
50320784e8 Updating existing @types/d3kit definition to new version: 3.1.2 ==> 3.2 (#19952)
* update @types/d3kit to 3.2

* update @types/d3kit to 3.2
2017-09-26 11:26:12 -07:00
Andy
43127f8191 graceful-fs: Convert to external module (#20049) 2017-09-26 11:24:15 -07:00
Ryota Kameoka
b7e9dd2a98 [chrome] Add and utilize ColorArray type (#19836)
* Add and utilize ColorArray type

* fixup! Add and utilize ColorArray type
2017-09-26 11:22:50 -07:00
Andy
a45998b19c next: Convert to external modules (#20046) 2017-09-26 11:15:49 -07:00
Andy
ecfab1f69a jasmine-enzyme: Convert to external module (#20047) 2017-09-26 11:15:01 -07:00
Andy
d0457afbf0 react-intl: Add ignore for "no-declare-current-package" (#20048) 2017-09-26 11:13:03 -07:00
Tony Trinh
0c69a915cc Fix node-spdy createServer signature (#20022)
* Fix spdy createServer signature

* Fix spdy lint errors
2017-09-26 11:12:33 -07:00
Andy
8725002bd4 Add tslint disables for "no-declare-current-package" (#20044) 2017-09-26 11:12:15 -07:00
Simon
3391040c5a fix(twit): add some missing params (#20026) 2017-09-26 11:09:19 -07:00
Jovica Zoric
f4c23d9070 fix(react-sortable-tree): Add missing prop (#20029)
Add missing dndType prop.
2017-09-26 11:08:32 -07:00
Steve Ognibene
8520eb774a Document how to write definitions for modules that can also be used globally (#20033)
* document writing definitions for global and module libraries

* minor edits
2017-09-26 11:05:38 -07:00
iwllyu
30a381e2ee add isPostalCode (#20042) 2017-09-26 11:03:43 -07:00
Andy
6d7f3012a1 lunr: Use export as namespace instead of global declarations + declare module (#20045) 2017-09-26 11:01:35 -07:00