Commit Graph

29313 Commits

Author SHA1 Message Date
taoqf
18e3ce9627 improve defination of ndarray (#16169)
* add weixin-app

* add wx

* add new line at end of file

* tslint wx and wx-app

* fixed test error

* change project name weixin

* rename

* weixin-app Add param this

* change discription of jweixin

* add some Event declaration

* change tslint config
extends dtslint/dt.json

* add defination of ccap, qr-image

* remove redundant jsdoc

* remove doc

* allow overloads

* inline some types

* fix tslint error

* ndarray
add tslint
export like a module style

* ndarray make ndarray as a interface
2017-05-01 17:07:41 -07:00
Tom Wanzek
5ff63bda5e Add d3-sankey Definitions (#16051)
* d3-sankey:
*  Initial incomplete draft of definitions (see TODOs) In particular issue with circular definitions given the source code approach to mutating nodes and links.
* Added tsconfig and tslint.

* Added initial draft of shape tests
* Subject to addressing SankeyNodes/SankeyLinks circularity in definitions
* Fixed return types of nodes() and links() to reflect source code rather than API Doc.

* Use intersection types to avoid circularity
* Using intersection types avoids running into the circularity issue with the generics driving SankeyNode an SankeyLink

* Refine SankeyLinkPathGenerator tests.

* Add interface tests for SankeyNode and SankeyLink

* Complete comments. Add one pathGen test.

* Fix lint errors.

* semicolon.

* Updated some comments.
* Some comments were updated to reflect the comments used in PR 23 to the d3-sankey repo

* Fix typo. Thx @gustavderdrache .

* Add Co-Maintainer
2017-05-01 16:46:04 -07:00
sebek64
48d4027255 fix(leavlet.awesome-markers): typo in color name (#16205)
* fix(leavlet.awesome-markers): typo in color name

* fix(leaflet.awesome-markers): change github project link

 - it seems that this one is actively developed
2017-05-01 16:36:36 -07:00
Amir.h Yeganemehr
876b72a0c7 Create definitions for jquery.growl (#16055)
* add jquery.growl definition

* Fix Travis CI checks
2017-05-01 16:35:16 -07:00
Tairan Wang
a3947c3eaa add type for "react-weui" (#16044)
* add type for "react-weui"

* fix ci issue

* fix dtslint issue
2017-05-01 16:34:52 -07:00
bryanjjohnson
d9be5adccd update for mapbox-gl to v0.35.1 (#16005)
* update for mapbox-gl to v0.35.1

* fix to mapbox-gl update
2017-05-01 16:30:55 -07:00
Vaclav Novotny
8279081781 modified jQuery.on({ [events: string]: handler }) so it resolves handlers as JQueryEventHandlers. (#15979) 2017-05-01 16:30:34 -07:00
Alexander
a6550043d9 Added definitions for to-markdown (#15875) 2017-05-01 16:23:29 -07:00
Severin
faaec1416d Updating template function defintion (#15936)
* Updating template function defintion

As mentioned [here](https://github.com/seveves/ng2-vis/issues/32) there is a problem with the definition of the template functions. We really should allow any as a return value because you can return a string, Handlebars, mustache or even react templates. As you can see [here](http://visjs.org/docs/timeline/#Templates) the template function always has three parameters. I made them optional because you don't have to use them at all.

* Using fat arrow syntax

I think this is the right way to do it.

* Fix lint error
2017-05-01 16:04:51 -07:00
Manuel Francisco Naranjo
cfa517b96e Bleno TypeScript definition added (#15656)
Adding definition and required test for compliance for Bleno library.
2017-05-01 15:55:25 -07:00
Matthias Dailey
7a49d23bc5 Add openlayers version 3.x (3.20) (#15923) 2017-05-01 15:53:28 -07:00
Robin Ward
b0a3133229 Ember: Missing optional parameter for Ember.Helper.helper function (#16250)
Currently, the second `hash` parameter to the closure is not supported,
even though it's used in the Ember Documentation for the method:

https://github.com/emberjs/ember.js/blob/v2.12.0/packages/ember-glimmer/lib/helper.js#L110-L114

I confirmed in the latest version of Ember.js that this `hash`
parameter works, so I believe the types should be updated to
support it.
2017-05-01 15:43:32 -07:00
Mikal Madsen
ea345679fb Add Recase typings (#15744)
* Add Recase typings

* Add relaxed-json type definitions

* Update Recase and Relaxed-JSON types as per PR review

* Update Recase and Relaxed-JSON types
2017-05-01 15:19:16 -07:00
Iker Pérez Brunelli
3a5fa63942 Add snekfetch type definitions (#16214)
* Add snekfetch typings

* Fix linting errors

* Remove unsused import

* Make interfaces and types available to import
2017-05-01 14:46:38 -07:00
Andy
441bef5f52 cucumber: Fix new --noImplicitAny error (#15983) 2017-05-01 14:04:53 -07:00
Andy
774e704935 selenium-webdriver: Fix Promise errors (#15989) 2017-05-01 14:04:37 -07:00
Andy
93f85817e1 leaflet-markercluster: Rename to "leaflet.markercluster" and convert to module (#16027) 2017-05-01 14:04:18 -07:00
Andy
3d2aeae311 Remove promise package (#16030) 2017-05-01 14:03:24 -07:00
Guo Yunhe
7bd8b5865c js-search: add definition (#16102)
* js-search: add definition

* js-search: fix project url

* js-search: use module instead of namespace declare

* js-search: change strictNullChecks to true

* js-search: add tslint.json
2017-05-01 14:03:00 -07:00
lobo87
418bdd3a49 added new types for npm package cordova-plugin-native-keyboard (#16152)
* added cordova-plugin-native-keyboard

* updated to conform linting checks
2017-05-01 14:02:04 -07:00
Josh Gillespie
ebb729c376 Adding the errors module to request-promise-native (#16216)
* Adding the errors module from the request-promise-native

* linting
2017-05-01 13:56:31 -07:00
Alan Agius
3ff7e25c70 feat(fs-extra): update typings to 3.0.x (#16218)
* feat(fs-extra): update typyings to `3.0.x`

* feat(fs-extra): update typings to `3.0.x`

* test(fs-extra): add more test coverage

* add `pathExists`

* fix lint issues

* fix lint issues

* add `TypeScript Version: 2.2'

* add more tests

* change `interface` to `type`

* add typescript version

* add missing semicolon

* add universalify fs async methods

* add `fs` methods

* feat(fs-extra): update typings to `3.0.x`

* fix lint issues

* fix more lint issues

* fs-extra: add `mkdtemp`

* remove extra breakline

* remove `walk` and overall improvments

* fix tests

* add options to test

* remove `CopyFilterFunction` and `CopyFilter`

* remove `CopyFilterFunction` and `CopyFilter`

* fix test

* re add `CopyFilter`

* fs-extra: fix CopyFilter

* fs-extra: remove `MkdirOptions`

* fs-extra: remove exra interfaces

* feat(fs-extra): update typings to
2017-05-01 13:56:02 -07:00
beeme1mr
950c9cdca9 Added a code property to MongoError (#16242)
Added missing code property to MongoError.

http://thecodebarbarian.com/mongoose-error-handling
2017-05-01 13:49:14 -07:00
Iain McGinniss
be0d3f97cb Typescript 2.3 fixes for credential management API (#16241)
Removes the copied (now out of date) definition of RequestInit.
Once 2.3 is "stable" for DefinitelyTyped (early June),
CMRequestInit will be updated to match the latest lib.dom.d.ts
definition.
2017-05-01 13:49:02 -07:00
Denis
ddb6d939c3 TS Linting react-router (#16240)
- Using default `dtslint/dt.json` for linting
2017-05-01 13:47:36 -07:00
sclassen
3440a18e98 ngStorage: improve definitions and update to newest tslint (#16238)
* update ngstorage to new linter configuration

* update ngStorage interfaces

- remove the method StorageService.get() as it does not exist
- add the method StorageService.$supported() which was missing
- StorageService.$default() and StorageService.$reset() return an intersection type of its argument and StorageService
- add the method StorageProvider.remove() which was missing
- add the method StorageProvider.supported which was missing
2017-05-01 13:46:11 -07:00
Budi Irawan
15d14159ba improve fallback language (#16236)
- add def for array of string
- add def for object list
2017-05-01 13:44:20 -07:00
valepu
0edf649dcb Autobahn: Add missing Publish Options (#16233)
Add all the missing publish options to interface IPublishOptions (according to documentation https://github.com/crossbario/autobahn-js/blob/master/doc/programming.md#publishing-events ). "disclose_me" is undocumented but it is indeed used inside autobahn's code
2017-05-01 13:17:01 -07:00
spacejack
4d4b29f563 Fixes for RouteResolver type and ClassComponent view method. (#16232) 2017-05-01 13:16:42 -07:00
Michael Aird
5a71b4961f Add missing scheduler properties/method (#16231) 2017-05-01 13:16:20 -07:00
Endel Dreyer
f532d39637 node: add pauseOnConnect to createServer options (#16230)
Documentation: https://nodejs.org/api/net.html#net_net_createserver_options_connectionlistener
2017-05-01 13:15:37 -07:00
Oden
55d680e198 Remove unneeded and broken react-router dependency from react-i18next (#16228) 2017-05-01 13:13:41 -07:00
Paul Murray
e8d4865015 fix CollectionAggregationOptions.maxTimeMS (#16226)
`maxTimeMS` on `CollectionAggregationOptions` should be `number` not `boolean`
2017-05-01 13:12:09 -07:00
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