Commit Graph
19142 Commits
Author SHA1 Message Date
Gerhard Stöbich 7ae2edb6d3 Add tests 2016-06-08 09:09:49 +02:00
Gerhard Stöbich 2fee4f256c Add EventEmitter APIs introduced in Node 6:
emitter.eventNames() ==> https://nodejs.org/dist/latest-v6.x/docs/api/events.html#events_emitter_eventnames
emitter.prependListener(eventName, listener) ==> https://nodejs.org/dist/latest-v6.x/docs/api/events.html#events_emitter_prependlistener_eventname_listener
emitter.prependOnceListener(eventName, listener) ==>  https://nodejs.org/dist/latest-v6.x/docs/api/events.html#events_emitter_prependoncelistener_eventname_listener
2016-06-08 08:47:44 +02:00
AndrewandHoriuchi_H a4ee90aaa8 Update to v0.9.7. (#9555)
* Create dts for surveyjs

surveyjs is origionally written on TypeScript

* Fix The Travis CI build

* Fix The Travis CI build

* Fix The Travis CI build

* Rename survey.d.ts to survey-knockout.d.ts

* Update to version v0.9.7

* Update to v0.9.7
2016-06-08 15:25:18 +09:00
2roy999andHoriuchi_H 8a16cfb4da making Connection.close() get optional arguments (#9554) 2016-06-08 15:23:36 +09:00
Dovydas NavickasandHoriuchi_H 57e2cfcf83 Fix broken link to author (#9552) 2016-06-08 15:11:34 +09:00
FlarnaandHoriuchi_H 7425c496f9 Add process.versions.modules to node 0.12, 4 and 6 (#9548) 2016-06-08 14:54:20 +09:00
FlarnaandHoriuchi_H 62da6b4c18 Add clean() function. (#9546) 2016-06-08 14:42:19 +09:00
ZenandHoriuchi_H 300bba6fc8 update options of fs.createWriteStream (#9495) (#9544) 2016-06-08 14:38:26 +09:00
Zhiyuan WangandHoriuchi_H b6be233cb4 refine log4js definition for easily writing customer Appender/Layout (#9522) 2016-06-08 13:23:55 +09:00
omegascorpandMasahiro Wakame 26a1f8c44f Make possible to import ServeStaticOptions from outside. (#9540) 2016-06-07 00:51:57 +09:00
Matt ForresterandMasahiro Wakame 21286f4d20 Much better typed DynamoDB.DocumentClient. (#9500) 2016-06-07 00:32:10 +09:00
Rafael Kaciano WolfandMasahiro Wakame d29b1fc285 Update select2.d.ts (#9537)
add "processResults" to ajax options
2016-06-07 00:30:14 +09:00
postpersonalityandMasahiro Wakame 6400da610d fix Sequelize.FindOptions to be able to use Sequelize.cast in arguments (#9536) 2016-06-07 00:10:38 +09:00
Kamil SzostakandMasahiro Wakame f7fa8b1b5d Add definition types for ApplicationInsights JavaScript SDK (#9409)
* Add definition types for ApplicationInsights SDK

* Move AppInsights JSSDK to a new folder
2016-06-07 00:10:16 +09:00
Luca RoverellliandHoriuchi_H 1be72cdce3 Added find method with no args (#9484) 2016-06-06 00:13:47 +09:00
Adam PlucińskiandMasahiro Wakame 473232e5db Sync with current versionof jstree lib (#9501)
Sync with current versionof jstree lib
2016-06-03 01:02:16 +09:00
Georgii DolzhykovandMasahiro Wakame cec53b2710 angularjs: $parseProvider.addLiteral & setIdentifierFns (#9472)
docs: https://docs.angularjs.org/api/ng/provider/$parseProvider
2016-06-03 01:01:39 +09:00
Tamir DubersteinandMasahiro Wakame b08fb43244 bytebuffer: remove superfluous namespace (#9487)
* bytebuffer: whitespace

* bytebuffer: remove superfluous namespace

This prevents `import ByteBuffer = require("bytebuffer");` from
generating the javascript require call.
2016-06-03 00:57:52 +09:00
Milan BurdaandMasahiro Wakame 0e9b30d821 Electron (#9445)
* Update to Electron 1.1.1

* Update to Electron 1.1.2

* Update to Electron 1.2.0

* Update to Electron 1.2.1
2016-06-03 00:56:50 +09:00
Manuel SchweigertandMasahiro Wakame 0b20db14dc fixes some type parameters (#9531)
track and defineproperty now use generic types instead of any
fixed untrack, doesn't return anything
2016-06-03 00:54:59 +09:00
zenwarrandMasahiro Wakame de02750377 Add node Buffer.alloc methods (#9529) 2016-06-03 00:52:35 +09:00
Igor KriklivetcandMasahiro Wakame 12dc242d27 Update to 15.2.10 (#9526)
* Update to 15.2.9

* Update to 15.2.10
2016-06-03 00:49:58 +09:00
François GuillotandMasahiro Wakame 1737fbff88 Typing Location.Query to K,V dictionary (#9524)
* Typing Location.Query to K,V dictionary

Location.Query is actually typed as 'Object', which forces to cast it to 'any' anytime you need to access one of your own query string parameter.

    const clientId = (this.props.location.query as any).clientId;

It should be typed as '{ [key: string]: string; }' since it's a dictionary where you can get your arbitrary named query string parameters.

* Fixing travis build
2016-06-03 00:49:05 +09:00
Thierry RégagnonandMasahiro Wakame a02593d277 Fix declaration for 'denodeify' method in npm module 'promise' (#9521) 2016-06-03 00:45:53 +09:00
webbiesdkandMasahiro Wakame 4cb464134d PathJS: "route" should be called with new. (#8758)
* PathJS: "route" should be called with new.

* PathJS: Calling route with new in test
2016-06-03 00:44:48 +09:00
iclantonandMasahiro Wakame 0b35996f55 Introducing combokeys typings. (#9520)
* Introducing combokeys typings.

* Improving documentation.

* Updating indentation on combokeys.d.ts.
2016-06-03 00:43:45 +09:00
LongYinanandMasahiro Wakame 5b670ebf34 fix node fs.watch (#9446)
* fix node fs.watch

* add fs.watch test
2016-06-03 00:42:52 +09:00
stunazandMasahiro Wakame e41aa98022 update(cookie): set method with a third parameter (#9519)
Added to the ‘set’ method a third parameter which is daysToExpiry,
which represent the expiration on the cookie in days
2016-06-03 00:41:42 +09:00
vickyl1andMasahiro Wakame a50c292dc1 Fix definition for custom components in react-select (#9516) 2016-06-03 00:39:45 +09:00
RaduWandMasahiro Wakame 8cd9ccf143 mCustomScrollbar, fixed CustomScrollbarOptions for mouseWheel (#9514) 2016-06-03 00:37:53 +09:00
Tim NeilandMasahiro Wakame 7a5e847b0f Adding registerTask() overloads for optional description (#9511)
Added overloads for a taskList with a description (http://gruntjs.com/creating-tasks#alias-tasks) and a taskFunction without a description (http://gruntjs.com/creating-tasks#basic-tasks)
2016-06-03 00:35:08 +09:00
Olivier AdamandMasahiro Wakame 9be5376d53 Add missing nunjucks signatures (#9507) 2016-06-03 00:30:16 +09:00
Steve Van OpstalandMasahiro Wakame 2901b0c3c4 caolan/async: add missing optional type to 'retry' (#9506)
* async: add function type to interval of 'retry'

* fix return type number
2016-06-03 00:26:29 +09:00
Flavien NormandandMasahiro Wakame 18ae8e8b46 Edited getAttrList to return ASTAttribute[]. (#9504)
* [Fix] Edited getAttrList() signature to fix an issue making parse5 unable to add attributes to a node, getAttrList() returns an ASTAttribute[] not an Attribute[] because its entries does not contain property 'key' but they do have property 'name'. Fixes #9235

* [Fix] Edited getAttrList() signature to fix an issue making parse5 unable to add attributes to a node, getAttrList() returns an ASTAttribute[] not an Attribute[] because its entries does not contain property 'key' but they do have property 'name'. Fixes #9235
2016-06-03 00:18:56 +09:00
Alex PyzhianovandMasahiro Wakame e3df7a21b9 react.d.ts: add <foreignObject/> to JSX (#9523) 2016-06-03 00:15:22 +09:00
Connor WyattandMasahiro Wakame 60e962e804 Express' send method can be called with no parameters (#9502)
* Modified call signature of Sinon's calledWithNew method to no longer take a parameter

* Express' send method can be called with no parameters
2016-06-03 00:14:06 +09:00
Timofey KachalovandMasahiro Wakame a33c790497 javascript-obfuscator definitions (#9496)
* javascript-obfuscator definitions

* javascript-obfuscator definition: added IOption interface for options

* javascript-obfuscator added new options

* javascript-obfuscator added new options

* Update javascript-obfuscator.d.ts

* Update javascript-obfuscator-tests.ts
2016-06-03 00:10:10 +09:00
TeamworkGuy2andMasahiro Wakame 15ad62197f tweak log4javascript.Level, change from enum to class with static fields to match implementation. (#9498) 2016-06-03 00:09:53 +09:00
DavidM77andMasahiro Wakame 0060fb0862 Added definitions for csv-parse (#9494) 2016-06-03 00:05:08 +09:00
Michael ScharfandMasahiro Wakame 95206dec38 Update to react-bootstrap-table version v2.3.1 (#9285)
* Update to react-bootstrap-table  version v2.3.0

I used the [`react-bootstrap-table` documentation](http://allenfang.github.io/react-bootstrap-table/docs.html) and converted it
to typescript. I reordered the data in the same way as ist is described in the dou.

* Added attributs from the source code
2016-06-02 23:55:48 +09:00
James TrinkleinandMasahiro Wakame 53c667d1a5 Update restify typings (#9379)
* restify: update Request, fix id type

change id from string property to function returning string
add getId() alias
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L214

* restify: update Request, add getPath()

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L234

* restify: update Request, fix query type

define query as function returning a string
add getQuery() alias
include JSDoc from source:
https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L247

* restify: update Request, fix time type

change time from number property to function returning number
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L262

* restify: update Request, add getUrl

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L273

* restify: update Request, add getVersion

getVersion is a function that returns a string
add version() alias
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L288

* restify: update Request, fix header type

change header return type from any to string
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L316

* restify: update Request, add trailer

trailer is a function that returns a string
trailer requires a string parameter called name
trailer optionally takes a second string parameter for default value

include JSDoc from source:
https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L338

* restify: update Request, add JSDoc

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L359

* restify: update Request, add isChunked

isChunked is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L394

* restify: update Request, add isKeepAlive

isKeepAlive is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L405

* restify: update Request, add JSDoc for isSecure

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L426

* restify: update Request, add isUpgradeRequest

isUpgradeRequest is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L442

* restify: update Request, add isUpload

isUpload is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L457

* restify: update Request, add userAgent

userAgent is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L494

* restify: update Request, add start/endHandlerTimer

startHandlerTimer is a function that takes a string
endHandlerTimer is a function that takes a string

include JSDoc from source:
https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L505

* restify: update Request, add absoluteUri

absoluteUri is a function that takes a string and returns a string
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L52

* restify: update Request, fix accepts

accepts can take a parameter of either string or array of strings
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L68

* restify: update Request, add acceptsEncoding

acceptsEncoding is a function that returns a boolean
acceptsEncoding can take a parameter of either string or array of strings

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L96

* restify: update Request, fix contentLength

add getContentLength which is a function which returns a number
contentLength is an alias for getContentLength function

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L116

* restify: update Request, fix contentType

add getContentType which is a function which returns a string
contentType is an alias for getContentType function

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L152

* restify: update Request, add getHref

getHref is a function which returns a string
href is an alias to getHref

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L202

* restify: update Request, add timers

timers is an array of handler timer objects
a handler timer object contains a string name and tuple of numbers representing the elapsed time
this is the only way to access times from start/endHandlerTimer()
from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L557

* restify: update RouteSpec, fix path

path can be either a string or RegExp
also shown in RouteOptions.path
2016-06-02 23:52:47 +09:00
Borys H.NandMasahiro Wakame 3b34ceb1f4 attachClickHandler onsuccess should have a GoogleUser param (#9479) 2016-06-02 23:48:01 +09:00
Tamir DubersteinandMasahiro Wakame 144657d7f1 long: remove superfluous namespace (#9486)
This prevents `import Long = require("long");` from generating the
javascript require call.
2016-06-02 23:43:19 +09:00
David Asensio CañasandMasahiro Wakame c0e210520e Update svgjs.draggable.d.ts (#9488)
According to this: https://github.com/wout/svg.draggable.js/issues/59#issuecomment-221865495

`draggable` must return `this` instead of element.
2016-06-02 23:39:50 +09:00
postpersonalityandMasahiro Wakame 6d61dabe67 fix Sequelize.FindOptions to be able use functions as attributes and make grouping. (#9485) 2016-06-02 23:39:01 +09:00
Federico CaselliandMasahiro Wakame 8daa4ef04a Added missing deprecated method Collection remove (#9476) 2016-06-02 23:29:41 +09:00
aroberts-illuminaandMasahiro Wakame 1bd46872a2 Add type definitions for fullpage.js (by @alvarotrigo) (#9473) 2016-06-02 23:29:10 +09:00
RyanandMasahiro Wakame 472bdb3015 Change type from jquery to (correctly) d3 selection (#9471) 2016-06-02 23:28:18 +09:00
Nathan BrownandMasahiro Wakame d9b6b8e455 react-tap-event-plugin: include shouldRejectClick option. (#9444) 2016-06-02 23:24:34 +09:00
Jeremy FosterandMasahiro Wakame 31c3c5db10 Add new type definition for serialport (#9470)
* add dt for serialport

* eliminate implicit any

* change format of the import in the -tests file
2016-06-02 23:22:28 +09:00