Commit Graph
18782 Commits
Author SHA1 Message Date
Ryan Cavanaugh 4cfa4a7ef4 Convert knockout.mapping to UMD 2016-04-22 16:10:58 -07:00
Ryan Cavanaugh 44571a9537 Tweaks to Jasmine 2016-04-22 16:10:50 -07:00
Ryan Cavanaugh 467dbeb0ec Upgrade moment to gold 2016-04-22 15:50:49 -07:00
Ryan Cavanaugh 572bf7f4e9 Restructure moment 2016-04-22 15:08:13 -07:00
Ryan Cavanaugh 4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
Ryan Cavanaugh fa7a5ddc9b Convert chai-string 2016-04-19 17:10:29 -07:00
Ryan Cavanaugh 1f610c4c38 Convert chai-fuzzy 2016-04-19 16:23:39 -07:00
Ryan Cavanaugh 3cab23c3ce Convert chai-datetime 2016-04-19 16:18:19 -07:00
Ryan Cavanaugh e72592d90e C3 does not appear to support node 2016-04-19 16:15:32 -07:00
Ryan Cavanaugh 2ddc40f5c5 Fix Browserify (it is not UMD!) 2016-04-19 16:09:51 -07:00
Ryan Cavanaugh f8a62ae9bf Merge remote-tracking branch 'upstream/master' into types2.0 2016-04-19 15:18:41 -07:00
vvakame 544a35a108 update CONTRIBUTORS.md 2016-04-18 01:09:47 +09:00
Sven Reglitzki fe60d9dfed Add typings and tests for json-socket (#9026) 2016-04-18 01:07:09 +09:00
Milan Burda cba323eec1 Update to Electron 0.37.6 (#9016)
* Update to Electron 0.37.6

* Eliminate any where possible

* Add missing setPermissionRequestHandler method on Session

* Add definitions for session.webRequest

* Fix headers type
2016-04-18 00:58:38 +09:00
Evan Martin b2c345855b add d.ts for google-closure-compiler (#9009)
The NPM google-closure-compiler library wraps the Google Closure Compiler.
This d.ts covers the Node interface to the library.
2016-04-18 00:58:14 +09:00
Frank Gambino 12dac7db64 Add _nodeRequire. (#9015)
https://github.com/systemjs/systemjs/blob/9ae1527ed9df717889609623be9d04cf7f0b95d6/lib/core.js#L84
2016-04-18 00:56:58 +09:00
Valentin Robert c0d18b73e8 concatMap supports arrays (#9010) 2016-04-18 00:45:49 +09:00
Sean Kelley 58b1706b11 Add typings for immutability-helper. (#9007)
These typings are mostly copy-pasted from react-addons-update. Because this library
strives to be a drop-in replacement for react-addons-update, that seems appropriate.
I did not define it in terms of react-addons-update (i.e., didn't import
react-addons-update and then re-export it) because it won't necessarily track React,
so it should remain separate. Plus, it adds a couple functions.
2016-04-18 00:37:50 +09:00
NCC1701M e1ba8156f2 Add flyout defenition (#8982) 2016-04-18 00:30:52 +09:00
eggers 3c728a34b0 Adding Promise.nearer definition (#9006) 2016-04-18 00:29:54 +09:00
Federico Caselli fb53f43026 Added level to winston Logger (#9005) 2016-04-18 00:28:29 +09:00
Jan Aagaard 438405f081 events added to ViewOptions (#9004) 2016-04-18 00:24:50 +09:00
andrey 15b498c307 Add type definitions for amchart (#9002) 2016-04-18 00:22:03 +09:00
delphinus 7ecabec1bf Add definition for iconv (#8999) 2016-04-18 00:18:47 +09:00
Nikolay Matrosov 083bb57ab8 Definitions for react-widgets (#8906)
* Definitions for Calendar, ComboBox, DateTimePicker, DropdownList, Multiselect, NumberPicker, SelectList components.

* Added tests

* fixed file naming. Corrected react-widgets.d.ts
2016-04-18 00:04:57 +09:00
Yonezawa-T2 4c02610eb8 Updates kii-cloud-sdk v2.4.0 -> v2.4.3 (#8995) 2016-04-17 23:54:51 +09:00
amritk 4de16e34f2 Update stripe.d.ts bank params (#8994)
Added additional params for creating a bank token as per: https://stripe.com/docs/stripe.js#collecting-bank-account-details
2016-04-17 23:54:14 +09:00
Yiting Zhi 支一婷 a3640e13de [React] exported copy event simulator for testing (#8992) 2016-04-17 23:49:49 +09:00
michalzysk 16799d6085 Declare module for angular permission (#8948)
* Declare module for angular permission

* AMD support

* Change module name, remove unnecessary AMD support
2016-04-17 23:49:36 +09:00
Ben Herila 7bf9ee34c6 Fixed IReply definition (#8960)
* Fixed IReply definition

* Fix a lot of inconsistent whitespace which caused merge issues

* [Hapi] Add support for IReply::state and IReply::unstate

* Add support for IReply::header(name, value, options)

* Reply functions should be returning Response objects

* Specify IHeaderOptions

* [Hapi] Got tests passing locally, also made the other hapi files consistent with the v8.2.0 ts
Sorry about any attribution clobbering but there wasn't much in the git blame view anyways.
2016-04-17 23:48:56 +09:00
Roger Chen 2543e90c09 Fix definition for optionRenderer in react-select (#8957) 2016-04-17 23:48:38 +09:00
Florent POUJOL bc9b3d9c80 Update to THREE.js r75 (+1 squashed commits) (#8825)
Squashed commits:

[22b2161] Update definitions to THREE.js r75.
2016-04-17 23:17:54 +09:00
Dennis bfc96c0e34 Missing locale functions and types (#8981)
* added svgRendering property to Html2CanvasOptions interface

* added an empty namespace in koa-bodyparser.d.ts (#8979)

Without this, there will be `Module '"koa-bodyparser"' resolves to a non-module entity and cannot be imported using this construct. (2497)` error
This solution is found (here)[https://github.com/Microsoft/TypeScript/issues/5073].
koa-json's `.d.ts` file has such namespace.

* Missing locale functions and types
2016-04-17 23:13:33 +09:00
Masahiro Wakame e4ddeda801 remove pg-promise definitions refs #8956 (#8987) 2016-04-17 23:12:55 +09:00
kodeo 3a6d393254 Add live and parent options (#8976) 2016-04-17 22:51:20 +09:00
Dasa Paddock 122b5dd8d1 Add support for loading using moment/moment (#8975) 2016-04-17 22:50:35 +09:00
François Guillot f9b6faf87c Add missing property className. (#8965) 2016-04-17 22:41:18 +09:00
Linda_pp cf9955fe1c new definitions: 'encoding-japanese' module (#8974)
Project: https://github.com/polygonplanet/encoding.js
2016-04-17 22:35:00 +09:00
Abhishek Garg 8363db45d1 Mark param as optional (#8968)
Mark param `types` as optional in method `registerDataChangeCallback` for `IGridOptions<TEntity>`
2016-04-17 22:14:31 +09:00
Abhishek Garg 3948c8646d Add missing param for rowIdentity (#8966)
Add missing param `row` for function `rowIdentity` in `IGridOptionsOf<TEntity>`
2016-04-17 22:11:40 +09:00
jugglingthebits de8e80dfe5 Allow SVGElement as the first param for the constructor function. (#8789) 2016-04-17 22:08:28 +09:00
Giedrius Grabauskas 0032c9b7e5 Added Latinize definitions (#8904)
* latinize.d.ts file created.

* Updated creator link.

* latinize tests created.

* Missing semicolon added.

* Added latinize version.

* Updated naming.
2016-04-17 22:06:19 +09:00
webbiesdk 05c8612890 PathJS: Spelling mistake (#8964) 2016-04-17 22:05:59 +09:00
João Monteiro bff89b9721 normalised interfaces names (module contains local and session storag… (#8808)
* normalised interfaces names (module contains local and session storage); fixed  definition (argument is optional)

* fixed name typo in test
2016-04-17 22:04:04 +09:00
Horiuchi_H 94d8775a94 added svgRendering property to Html2CanvasOptions interface (#8990) 2016-04-14 23:16:41 +09:00
M Clark 1239b5a12b Bugfix in ReactSelect.Async definitions (#8898)
* Bugfix in ReactSelect.Async definitions

* Extended defined props
2016-04-14 21:48:40 +09:00
Philipp 8c9d2af6b3 Add 'jsx-chai' module (#8958)
* Add 'jsx-chai' module

* Add 'radium' module
2016-04-14 21:44:59 +09:00
Paul Welter d63ae9035b Googlemaps label (#8972)
* Add typings for redux-debounced.

* add SFTP type in `ssh2`

* New options have been added

* Firebase: Generic Github, Twitter and Facebook authentication providers (#8870)

* Firebase: Generic Github, Twitter and Facebook authentication providers

* Firebase: Authentication definitions for Email and Password, Twitter, Github, Facebook and Anonymous

* Added definition files for koa-json (#8873)

* Add toDate() sanitizer (#8871)

* typo at TextGeometryParameters (#8874)

* Update Kendo UI TypeScript Definitions (#8879)

* Updated material-ui.d.ts (#8881)

Added DOMAttributes to FlatButton and Dialog properties.

* Methods were missing on kendo.Observable (#8883)

* Enable type checking for constant and value (#8885)

Using a generic type one can type check the `constant` or `value` in angular.module.

* Try to provide a new definition for ioredis (#8910)

* Create ioredis.d.ts

* Create ioredis-tests.ts

* Update ioredis.d.ts

* Update ioredis-tests.ts

* expose interfaces as type

* mark Response.error() and Response.redirect() as static (#8887)

Fixes #7777

* Created definitions for promise-pg (#8888)

* Created definitions for promise-pg

Dependencies:
* node
* Q
* pg

Tests script is cribbed from pg typings and modified for promise-pg.

'promise-pg'.Client does not inherit from 'pg'.Client because the
functions redefined to return promises completely replace the originals
from 'pg'.

* fix: QueryConfig.buffer is optional

It's only needed when doing a SELECT anyway, so mark it optional.

* Bring promise-pg tests in line with examples from promise-pg readme

* Add the promise-pg readme examples as tests

* Add ControllerService to angular-mocks (#8889)

* Add ControllerService to angular-mocks

The definition in angular.d.ts changed that used to included this definition.
Needed because of 69d2fb9

* Added unit tests for controller service mock

* Create html-entities definitions file (#8890)

* Create html-entities definitions file

* Fix Travis test

* Introduce done function declaration with fail method (#8891)

* Updated node-mssql to v3.2.1 (#8893)

* Updated node-mssql to v3.2.1

According to https://github.com/patriksimek/node-mssql#2x-to-3x-changes, updated the definitions.

* Update mssql.d.ts

* Update mssql.d.ts

* Introduce `unfoundState` type from `$stateNotFound` event (#8894)

* partition's thisArg should be optional (#8895)

* Added react-tagcloud (#8899)

* Fixing a few API set annotations in Office-js.d.ts (#8892)

Fixed api set annotations on half-a-dozen methods that were erroneously labeled as 1.1, whereas they really belong the the 1.2 set.

* add declare module "nouislider" (#8905)

* Added Filesize definitions (#8908)

* filesize definition file added.

* Updated filesize definition.

* Added SiJedec type to suffixes

* Created filesize tests file.

* Added definition file reference in tests.

* Allow import statement from Typescript (#8911)

* Missing loglevel public API methods added (#8914)

* Update definition of Flatten method in chain. (#8901)

* RxJS: resultSelector is optional in combineLatest (#8917)

* declare namespace ExpressUseragent (#8918)

* declare namespace ExpressUseragent

- declare namespace ExpressUseragent
- fix error Import declaration conflicts with local declaration of 'express'

* Update express-useragent.d.ts

* Update express-useragent.d.ts

* Node.js Buffer should be useable as a Uint8Array and is missing a constructor (#8919)

* make NodeBuffer extend Uint8Array

* add missing Buffer(ArrayBuffer) constructor

* add TODOs for missing Buffer methods

* Add option that can be set for CircleMarker (#8912)

* Return typed definition from toJSON method (#8859)

* Return typed definition from toJSON method

* Test toJSON returns IMyResource

* Update http-status to 0.2.1 (#8920)

* Add rebass (#8925)

* Add type definitions for 'rebass' module

https://github.com/jxnblk/rebass

* Add tests for rebass.d.ts

* github-electron update (#8922)

* Update URLs to new location: https://github.com/electron/electron/blob/master/docs

* Fix CrashReporter interface

* Fix isMainFrame type in WebViewElement.LoadCommitEvent

* Update menu-item documentation

* Fix ContentTracing interface

* Create Falcor definitions (#8882)

* Create Falcor definitions

* Rename some interfaces(Upper camel)

* Add type definitions for 'twitter-text' module (#8928)

* Add type definitions for 'twitter-text' module

* Add tests for twitter-text.d.ts

* Add user defined type guard for entities to tests

* Add a missing file reference to test file

* adding microgears definitions (#8930)

* qrcode-generator added (#8932)

* Add type definitions for Handsontable (#8934)

* feat(): add type definition for cordova-plugin-background-mode (#8936)

fix(): space out the comment text from commenting slash

* add js-md5 export (#8940)

add js-md5 export

* Update avaiable hooks. (#8909)

Apply comments.

Minor changes.

* Fix dom4 typings so they work with latest nightlies of TS (#8943)

The deleted members are defined in lib.d.ts's ElementTraversal interface
and thus don't need to be defined in here.

* Fix function definitions in flowjs.d.ts (#8942)

* Fix function definitions in flowjs.d.ts

* Update flowjs-tests.ts

* Update gapi.d.ts (#8944)

Adding the optional url param to gapi.client.load

* Update angular-material.d.ts (#8896)

Add IColorPalette for [$mdColorPalette](https://github.com/angular/material/blob/master/src/core/services/theming/theme.palette.js)

* Allow specifying `void` for component state type parameter. (#8673)

* Allow specifying `void` for component state type parameter.

Per comments on https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8543,
the type parameter for component state was changed to `{}` from `any` for
increased type safety, but prevents specifying (non-functional) stateless
components without having empty state parameters, which seems messy. This
changes the type to `{} | void` to allow this while staying stricter than
`any`.

* Make react tests a bit more strict.

* Rename State -> ComponentState to make it a bit more explicit.

* Add documentation for cookie-js (#8836)

* Backbone: History.getFragment, the implementation doesn't have any mention of a second argument (#8949)

* Update react-intl locale data location (#8945)

* Stripe node 4.5.0 (#8907)

* Update Stripe library definitions to version 4.5.0.

And update to API version 2016-03-07.

Ideally more tests need to be added, but I've ran out of time to
implement all that is needed. The tests cover just enough for now,
although they are by no means thorough.

* Fix CI test errors

* Add correct header options

Add correct header options to method definitions.

As I understand it, all methods have the ability to have header options,
and they should always appear after any data options, see:

https://github.com/stripe/stripe-node/blob/master/lib/StripeMethod.js#L61
https://stripe.com/docs/connect/authentication

Tests still need to be added.

* Rename account to accounts

And fix other small bugs:
- L4626: Fix duplicate arg name
- L4999: Add missing method definition

* Rename CustomerSubscription Methods

Rename some CustomerSubscription methods that were named incorrectly.

* Define chargeObj.refunds methods

Add ChargeRefunds methods to ICharge interface and add resource class.

https://github.com/stripe/stripe-node/blob/master/lib/resources/ChargeRefunds.js

* Add verifySource placeholder methods

Add verifySource placeholder method to the Customer resource class. This
needs to be properly implemented later.

Also update InvoiceLineItem.type property to be a string literal type.

* Test clean up

Clean up the tests and add a few missing tests. All current tests now
also test for Promise method returns.

Still a lot of missing tests, but it's better than before.

* Dropzone update (#8950)

* Update dropzone.d.ts to 4.3.0

* Update dropzone-commonjs-tests.ts

* Update dropzone-tests.ts

* Update dropzone.d.ts

* Update dropzone.d.ts

* Update dropzone-tests.ts

* Update dropzone-commonjs-tests.ts

* Update dropzone-tests.ts

* Update dropzone.d.ts

* Update dropzone.d.ts

* added "src and "fields" to bunyan Logger definition (#8954)

* Added typings for rx-dom (#8792)

* Added typings for rx-dom

* Added missing references

* Rename test file to tests

* Rename tests

* Fixed tests

* Fixed tests

* Update to 15.2.9 (#8953)

* add MarkerLabel definition

* add docs to MarkerLabel

* add missing getLabel and setLabel to Marker
2016-04-14 21:44:51 +09:00
liushigit 7437a9ab3a added an empty namespace in koa-bodyparser.d.ts (#8979)
Without this, there will be `Module '"koa-bodyparser"' resolves to a non-module entity and cannot be imported using this construct. (2497)` error
This solution is found (here)[https://github.com/Microsoft/TypeScript/issues/5073].
koa-json's `.d.ts` file has such namespace.
2016-04-14 21:44:40 +09:00
Igor Kriklivetc 641df27e73 Update to 15.2.9 (#8953) 2016-04-13 02:06:55 +09:00