Commit Graph

1188 Commits

Author SHA1 Message Date
taoqf
8f7ff04d07 Add type definition for cwise-parser (#16282)
* 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

* ndarray: export type Data

* add defination of cwise-parser

* add type definition for cwise-copiler

* fix tslint error

* add type definition for cwise
2017-05-03 11:10:52 -07:00
hgossler
cf786aea6d Add functions for v1.10 (#16281)
- VError.hasCauseWithName
- VError.errorFromList
- VError.errorForEach
2017-05-03 11:09:38 -07:00
Tom Wanzek
5857473cc7 [d3-contour] Add Definitions (#16280)
* [d3-contour] Initialize skeleton

* [d3-contour]
* Initial definitions
* Add DOM to compilation context libraries

* [d3-contour]
* Add JSDoc comments
* Unify `thresholds(...)`-setter signatures which accept generator functions.

* [d3-contour]
* Add tests
* Add additional lint-rule to ignore unified-signatures for now

* [d3-contour]
* Linted.

* [d3-contour] Lint arrow function
2017-05-03 11:09:12 -07:00
Vesa Poikajärvi
2ca5a0e8f4 [bookshelf] Model#orderBy and Collection#orderBy (#16277)
* Bookshelf Model#orderBy and Collection#orderBy

orderBt introduced in Bookshelf 0.9.3

* [bookshelf] orderBy explicit parameters instead of ...args

* [bookshelf] Use a type for sort order
2017-05-03 10:58:47 -07:00
Clément Prévot
b794bedb72 Added type definitions for chai-arrays (#16266) 2017-05-03 10:57:45 -07:00
Steve Hipwell
2c0494ee20 Updated restify to lint correctly (#16274)
* Updated restify to lint correctly

* Updated restify request query

* Fixed restify tests error
2017-05-03 10:55:19 -07:00
Steve Hipwell
386630caee Add typings for restify-errors (#16269)
* Added typings for restify-errors

* Fixed restify-errors linting errors

* Updated restify-errors tests

* Fixed restify-errors failing tests
2017-05-03 10:52:01 -07:00
mkools-vg
15e80a6126 Added some strings to the Sys.Res class. (#16265)
Added missing strings: undefinedEvent, eventHandlerNotFunction,
propertyUndefined, propertyNotAnArray, propertyNotWritable
2017-05-03 10:29:52 -07:00
Rogier Schouten
d762eaf8a0 Add typings for exceljs (#16263)
* add typings for exceljs

* update to latest definitelytyped standards
2017-05-03 10:21:40 -07:00
Martynas Žilinskas
b746bd969d [enzyme] Added missing methods and deprecation warning on method. (#16275)
* Added getNode and getNodes in CommonWrapper w/ tests.

* Added getDOMNode in CommonWrapper w/ tests.

* Added slice in CommonWrapper w/ tests.

* Added tap in CommonWrapper w/ tests.

* Deprecation on isEmpty method.

* Updated dts header.
2017-05-03 07:31:29 -07:00
frodehansen2
455e6bb9c0 react-widgets: Add combobox placeholder (#16288)
* react-widgets: add combobox placeholder

* Add name to definitions by
2017-05-03 07:23:54 -07:00
Daniel Rosenwasser
dd48f9475c Merge pull request #16279 from DanielRosenwasser/removeRefsAndProps
Removed inheritance from 'React.Props' as well as explicit 'ref' properties.
2017-05-02 18:02:28 -07:00
Daniel Rosenwasser
550cf1fbea Removed inheritance from React.Props (which is deprecated) as well as explicit ref properties.
TypeScript already includes `ref` properties when necessary through the use of
`JSX.IntrinsicClassAttributes` (which is more or less just an alias of `React.ClassAttributes<T>`
inside of React's declaration files).

Our understanding is that having these declarations caused problems in assignability in
scenarios where the 'ref' key in props were not assignable in odd ways.
2017-05-02 17:24:25 -07:00
Harurow
90b46feda1 add openIcon, closeIcon properties for CardHeader (#16262) 2017-05-02 10:35:23 -07:00
Peter Keuter
e0cfd8f75b move query template function to connectionpool (#16260) 2017-05-02 10:34:31 -07:00
Waldo000000
538907bb86 Add initial watson-developer-cloud definitions (#16254) 2017-05-02 10:28:23 -07:00
Ali Taheri Moghaddar
c69aadeeb5 [react-grid-layout] Improve typings (#16071)
* Improve react-grid-layout typings

* Fix lint errors
2017-05-02 10:12:27 -07:00
Lauri Lavanti
4baa153d2c (#16189): Add LocationChangeAction to react-router-redux (#16252) 2017-05-02 09:29:14 -07:00
taoqf
31e2829a1b export Data from ndarray (#16251)
* 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

* ndarray: export type Data
2017-05-02 09:28:49 -07:00
Ruslan Arkhipau
5d7df036b2 [grecaptcha] Add type definition for invisible recaptcha (#16247)
* Update `ReCaptchaV2.Parameters` to include new optional parameter `badge`

* Add `ReCaptchaV2.Badge` type to hold allowed values for `ReCaptchaV2.Parameters.badge`

* Update `ReCaptchaV2.Size` type to include `"invisible"` value as valid

* Add `tslint.json` file to grecaptcha

fixes #16245
2017-05-02 09:27:52 -07:00
Andy
a2bcaaff82 to-markdown: Lint and add strictNullChecks (#16272) 2017-05-02 08:46:01 -07:00
Dolan
1ee58c5114 Archiver update from 0.15.0 to 1.3.x (#15894)
* archiver clean up and updated version

* added tslint.json

* added back in create because it still works. Updated examples

* fixed listing issues

* fixed more linting issues

* added glob options and EntryData

* added more to tests

* fixed tests by returning this, instead of void

* removed whitespace

* Add node types import

* Keep original author
2017-05-01 17:08:44 -07:00
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