Commit Graph
35756 Commits
Author SHA1 Message Date
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
Andy c975ec52cd cloudflare-apps: Remove unnecessary declare module (#20043) 2017-09-26 11:01:10 -07:00
Andy 19c06610a5 request-promise-native: Convert to external module style (#20036) 2017-09-26 11:00:45 -07:00
Andy 72a30099ac lambda-phi: Provides its own types (#20035) 2017-09-26 10:59:36 -07:00
Florian Richter b622068882 Revert and fix lint/tests (#19957) 2017-09-26 10:58:20 -07:00
Levi Botelho fff9915030 Add Feather icons to react-native-vector-icons (#19995)
* Add Feather icons to react-native-vector-icons

* Bump react-native-vector-icons version number

* Add Feather.d.ts to react-native-vector-icons tsconfig

* Rename Feather.ts to Feather.d.ts in react-native-vector-icons
2017-09-26 10:56:33 -07:00
David 612cb5b867 Increment version of prosemirror-command to v0.24 (#20023) 2017-09-26 10:56:04 -07:00
David 5daf5e10f2 Increment prosemirror-keymap version to 0.24 (#20024) 2017-09-26 10:55:51 -07:00
Adam Lewis 42e7580956 [vis] timeline: add types for custom ordering functions (#20031)
* add types for custom ordering functions

* fix trailing whitespace

* include dependency on moment  (2.13 being the first version to include types)
add type for moment constructor for use in timeline and graph2d options
2017-09-26 10:55:38 -07:00
Giorgio c320fd0723 Make client constructor options param optional (#20041) 2017-09-26 10:54:47 -07:00
Micah Zoltu 1eca915e24 Fixes definitions to match reality. (#19800)
Return type on ignore function was missing and Promise return type was missing from overloads that didn't take a callback.  Also extracts out a helper type definitions and provides slightly better variable naming for the transient `recursiveReadDir`.
2017-09-26 10:53:30 -07:00