Commit Graph
25327 Commits
Author SHA1 Message Date
Andy c1bd558e85 cldrjs: Convert cldr.js-supplemental.d.ts to module augmentation, and include in tests (#13777) 2017-01-06 06:34:42 -08:00
Andy e1323d0c5e Merge pull request #13034 from screendriver/http-link-header
Added http-link-header
2017-01-06 06:21:48 -08:00
Andy cb27198cd9 Merge pull request #13745 from Irmiz/siema
Type definitions for siema
2017-01-06 06:16:47 -08:00
Christian Rackerseder e251755f57 Merge branch 'http-link-header' of github.com:screendriver/DefinitelyTyped into http-link-header 2017-01-06 12:31:44 +01:00
Christian Rackerseder c83a99f467 Fixed function signature 2017-01-06 12:30:07 +01:00
Christian Rackerseder fe98d41836 Removed toString() 2017-01-06 12:30:07 +01:00
Christian Rackerseder eb11136758 Fixed version number 2017-01-06 12:30:07 +01:00
Christian Rackerseder 2dc8844b1a Updated tsconfig.json 2017-01-06 12:30:07 +01:00
Christian Rackerseder c513911e7e Fixed Travis build 2017-01-06 12:30:07 +01:00
Christian Rackerseder c2711053cd Added http-link-header 2017-01-06 12:30:07 +01:00
Christian Rackerseder 6b165e026d Fixed function signature 2017-01-06 12:27:28 +01:00
Irmantas Zenkus 033237bd3a tslint added 2017-01-06 08:41:25 +02:00
Andy 6db421e162 Merge pull request #13779 from merrywhether/expect
Update types for expect v1.20.2
2017-01-05 19:03:49 -08:00
Risto Keravuori 0f0c6ef326 Update types for expect v1.20.2 2017-01-05 18:10:58 -08:00
Andy 7ef22c6850 Merge pull request #13716 from KostyaTretyak/assert-plus
Fixed and extended declarations for 'assert-plus'.
2017-01-05 18:03:31 -08:00
Andy a56453a0ea Merge pull request #13780 from bradfordwagner/bugfix/fine-uploader/validation-options
fine-uploader: fix allowedExtensions typo in ValidationOptions
2017-01-05 16:13:29 -08:00
Bradford Wagner b17a36a6f7 fixing typo in ValidationOptions 2017-01-05 18:52:34 -05:00
KostiaTretiak 856dead004 Fix definitions(assert-plus): used generics only with deepEqual and strictEqual. 2017-01-06 01:52:33 +02:00
Lionel b1b1443427 rename blazy module name to lowercase (#13778)
using lowercase module name avoid name confict when using
`import * as blazy from 'blazy'` since npm module is lowercase
2017-01-05 15:45:47 -08:00
Andy d8b8f925b1 Merge pull request #13775 from jkeylu/keygrip
Type definitions for keygrip
2017-01-05 14:44:52 -08:00
Andy 3c1512b228 Merge pull request #13776 from DefinitelyTyped/lint_format_unicorn
Convert format-unicorn types to external module style and include `safe.d.ts` in tsconfig
2017-01-05 14:42:42 -08:00
Andy f3dad9e948 Merge pull request #13774 from DefinitelyTyped/fix_falcor
falcor: Move unused file `falcor-browser.d.ts` into `index.d.ts` and use external module style
2017-01-05 14:38:39 -08:00
Andy Hanson 3839414d25 format-unicorn: Clean up and include safe.d.ts in tsconfig 2017-01-05 14:37:06 -08:00
Andy 94d2cd4a7a Merge pull request #13659 from eejdoowad/master
[chrome] Fixed type of Port disconnect listener
2017-01-05 14:30:18 -08:00
Andy Hanson f8f2e4dd98 falcor: Move unused file falcor-browser.d.ts into index.d.ts and use external module style 2017-01-05 14:27:29 -08:00
eejdoowad 433a6c5044 changed tabs to spaces 2017-01-05 17:23:30 -05:00
Andy cb3429ecc8 Merge pull request #13773 from DefinitelyTyped/rm_webaudioapi
Remove `webaudioapi`. It is included in `lib.d.ts`.
2017-01-05 14:19:14 -08:00
Andy Hanson c201695d68 Remove webaudioapi. It is included in lib.d.ts. 2017-01-05 14:12:58 -08:00
Andy ebcd2ff158 Merge pull request #13766 from pchaussalet/master
Fix appendHash property type in hasher
2017-01-05 14:04:49 -08:00
Andy 4dfdde9428 Merge pull request #13668 from DefinitelyTyped/react_target
react: Add link about SyntheticEvent.target
2017-01-05 13:14:29 -08:00
Andy 1985167ba8 Merge pull request #13771 from tomwanzek/d3-ease-fix-strictnull-jsdoc
[d3-ease]  Add Parameterization, strictnullChecks and  JSDoc comments
2017-01-05 13:01:20 -08:00
Andy deece03f75 Merge pull request #13772 from DefinitelyTyped/fix_merge
Fix merge
2017-01-05 12:46:49 -08:00
Andy Hanson e99b589790 Merge branch 'types-2.0' into revert_merge 2017-01-05 12:45:50 -08:00
Andy Hanson dc028e0a39 Revert "Merge more from types-2.0 to `master (#13770)"
This reverts commit 5bce8fab2e.
2017-01-05 12:43:24 -08:00
Bradford Wagner f2d8c8ac18 Feature/fine uploader (#13768)
* Adding FineUploader typings

* noImplicitThis true

* adding tslint.json

* tslint.json -> tslint

* fixing some lintings

* fixing lintings

* removing version

* added typescript version

* defaults that are null/undefined now are | null/undefined respectively

* removed minor version from fineuploader definition, removed typescript 2 version
2017-01-05 12:37:43 -08:00
Tom Wanzek a0951d1210 d3-ease:
* [Fix]: Added interfaces and changed definitions for three classes of easing functions, which can be parameterized. Fixes #13767.
* [Enhancement]: Activated `strictNullChecks` after validation
* [Chore]: Added JSDoc comments
* [Chore]: Added linting config file.
2017-01-05 15:33:14 -05:00
Andy 5bce8fab2e Merge more from types-2.0 to `master (#13770)
* Add memoizee definitions

* Fix common issues, added doc

* Removed blank line

* fix test

* Fix test methods

* Fix check style

* Fix check style

* Fixing semver header

* Fixing semver header

* `memoizee`: Clean up types

* Types 2.0 - Fix JS-quantities (#12739)

* Enable strict null checking per readme FAQ.

* Add tslint.json.

* Improve test file with project spec.

* Fix js-quantities d.ts, with adjustment of test.

* Add trailing newline to tslint.

* Simplify functional interface per linter.

* js-quantities: add readme examples to tests

* js-quantities: fix & clean declaration

* d3-selection: Mark before param of insert() as optional (#13090)

Selection<etc>.insert functions perfectly well without a `before` selector -- it does so in many d3 official examples.

This corrects the type signature to mark it as optional.

* [react-intl] bugfix for #12716 (#12906)

* fix for issue introduced in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12716

* injectIntl is now usable as class decorator

* fixed test

* use inferface instead of type

* format document

* fix chai-json-schema styling (#13537)

* googlemaps: Allow Marker.setAnimation(null) and Marker.setMap(null) (#13240)

* googlemaps: Allow Marker.setAnimation(null)

 * Also, turn on strictNullChecks
 * Allow new google.maps.Map(null) since it's technically possible with Google's example code from the docs

Signed-off-by: Iqbal Yusuf <iyusuf@corelogic.com>

* googlemaps: Allow Marker.setMap(null)

 * Also, add more test code from the Google Maps API documentation

Signed-off-by: Grant Hutchins <ghutchins@pivotal.io>

* Added the brand property to the StripeCardData and fix style issues, lint (#13084)

* Add the "brand" field to StipeCardData
Added the StipeCardDataBrand type.
Added the `brand` property to the `StripeCardData` declaration with the type
`'Visa' | 'American Express' | 'MasterCard' | 'Discover JCB' | 'Diners Club' | 'Unknown'`
Reference: https://stripe.com/docs/api#card_object

* Run linter, fix issues. set --strictNullChecks.
Unsure about ambient declaration:
Removed as it seemed to be in error:
  1. case was not correct
  2. the export was the type of the global which is unconditionally defined.
  3. this module does not seem a suitable candidate for a UMD declaration.

* Use header version of 0.0; explain Stripe versioning in comments

* Restore global

* Added tests
2017-01-05 12:05:44 -08:00
Ben Katz ce5eb0cc2c fix enzyme CommonWrapper.reduce function to return R instead of R[] (#13763) 2017-01-05 12:02:09 -08:00
denisname 694b16f5b0 CKEditor: add properties in buttonDefinition (#13636)
* CKEditor add icon in buttonDefinition

Add icon and iconOffset optional properties in buttonDefinition
interface

* Test

Add test

* Confirm to style
2017-01-05 11:57:15 -08:00
Craig 93357460d2 chore(selenium-webdriver): split apart test files (#13573)
- splitting apart test files
- fix single and double quotes for consistency - replace " for '
- updated ActionSequence sendKeys (https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/actions.js#L368)
- updated WebElement sendKeys (https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/webdriver.js#L2056)
2017-01-05 11:56:02 -08:00
Jan Molak 470febda1f Support for Cucumber event listeners for TypeScript (#13552)
* Added the Listener and Event types so that you can register custom cucumber event listeners in TypeScript

Contribution based on the [Serenity/JS implementation](https://github.com/jan-molak/serenity-js/blob/3e733369f4fd456239c4d97ef20ae4447e407799/src/serenity-cucumber/cucumber.d.ts)

* Removed myself from the list of contributors, because being there apparently breaks some regex somewhere ....

* Replaced non-existent 'assert' type reference with a dummy implementation based on https://github.com/DefinitelyTyped/DefinitelyTyped/blob/4869992bc079b88280b9ff91213528904109e8ae/json-merge-patch/json-merge-patch-tests.ts

* Added myself to the list of contributors as per @andy-ms instructions. Thanks!
2017-01-05 11:53:37 -08:00
Michael Jones f82552638c Improve keyMirror types & tests (#13738)
Using mapped types from Typescript 2.1.

The type returned is as we might expect from keyMirror. In the test case
of:

  keyMirror({key1: null, key2: null})

We get the type:

  { key1: 'key1'; key2: 'key2'; }

Instead of:

  { [key: string]: string; }

Which is what we got before.

Both check lines in the test file fail with the previous type
definition.
2017-01-05 11:38:53 -08:00
Andy a31c3dd12f Clarify pull request template: new packages must be linted (#13760) 2017-01-05 11:23:53 -08:00
Tom Wanzek 7eeb19eab6 Merge remote-tracking branch 'DefinitelyTyped/master' 2017-01-05 14:14:46 -05:00
Tristan Jones 989a69ee7c Node emoji (#13764)
* Added definitions for node-emoji

* Added test for node-emoji
2017-01-05 11:11:57 -08:00
Pierre Chaussalet 8b1d75f1b7 Fix appendHash property type in hasher 2017-01-05 10:52:30 -08:00
Daniel Rosenwasser 33ef965fef Merge pull request #13674 from smhc/patch-1
Added option comparator parameter to IFilterOrderBy
2017-01-05 12:42:52 -05:00
Mohamed Hegazy 5757550c40 Do not use Node and NodeList in rx-lite defintions (#13737)
* Fix https://github.com/DefinitelyTyped/DefinitelyTyped/issues/13733: Do not use `Node` and `NodeList` and instead define `DOMEventTarget`
- Also adds NodeEventTarget support

* Fix lint errors

* Make selector take variable number of arguments

* Make selector take variable number of arguments
2017-01-05 09:36:46 -08:00
Martin D ff2d63b83b TinyMCE typings (WIP) (#13728)
* TinyMCE typings

* TinyMCE declaration file

* Update tsconfig.json

Changed `strictNullChecks` to true and added `noImplicitThis`

* Update index.d.ts

Added namespace

* Update index.d.ts
2017-01-05 09:26:08 -08:00
BrunoLM a1cbc2a5dc Add definitions for mockdate package (#13754)
* Add mockdate package definition file

* Fix mockdate comments

* Apply revision checks on mockdate

Add tslint.json
Enable strciNullChecks
Change definition to export functions intead of default.

* Fix mockdate to export as namespace
2017-01-05 08:30:40 -08:00