Tom Wanzek 59ff802dab [types-2.0] d3-selection and d3-transition JSDoc comments and fixes (#11497)
* d3-selection
* [Chore]: Completed JSDoc comments
* [Chore]: Removed outdated comments
* [Enhancement]: Added some explicit setter signatures, where using the setter with `null` as a value clears the set attribute, style, property
* [Enhancement]: Added explicit possible `null` return value for `touch(...)` if touch cannot, be found for the fiven identifier

* d3-transition and d3-selection
* **[chore](d3-selection)**: Added JSDoc comments for Selection<...> interface and param priority to style(...)
* **[enhancement](d3-selection)**: Started adding some `| null` for strict null checking.  In ValueFn passed into `attr`, `style`, `text`, `html`. Clarifying the ability to clear the respective property when `null` is returned. Also added `| null` to `node()` return type.
* **[chore](d3-transition)**: Added JSDoc comments.
* **[enhancement/fix](d3-transition)**: Updated signatures for `attrTween(...)` and `styleTween(...)` to align them with curent API doc. Added getter, remover and reduced permissible return type for interpolator to `string`. Added getter signature for `tween(...)`
* **[enhancement](d3-transition)**: Added ``| null` in preparation of strict null checking support to ValueFn return types for `attr`, `style`, and `text`. Same with return type for `node()`.
* [BREAKING](d3-transition): Return type of interpolators returned by tween factories in `attr` and `style` has been reduced to `string` as per API doc. (One test was adjusted accordingly)

* d3-transition
* [BREAKING](d3-transition): Fixed signatures for top-level `transition` method. The generics have been updated, as only the datum type in the returned transition needs to be typed. The rest is pre-determined based on a document root selection.
* **[Fix](d3-transition)**: When using an existing transition as an argument, the transition type is not constrained for the argument.
* Adjusted affected tests.

* d3-transition
* [chore](d3-transition): Updated patch version of reference module to 1.0.2
2016-10-03 07:49:43 -07:00
2016-09-08 19:29:39 +03:00
2016-09-14 21:45:38 +09:00
2016-09-26 18:38:33 -03:00
2016-09-20 08:50:33 -05:00
2016-09-14 20:47:03 +09:00
2016-09-13 09:58:44 -04:00
2016-08-31 22:13:13 -04:00
2016-08-31 22:13:13 -04:00
2016-09-23 09:21:15 -07:00
2016-09-14 18:44:24 -07:00
2016-09-07 20:44:37 +09:00
2016-09-20 11:51:51 -05:00
2016-09-16 11:36:37 -07:00
2016-09-09 23:26:34 +09:00
2016-09-23 16:19:52 +02:00
2016-09-14 18:44:24 -07:00
2016-09-23 09:21:15 -07:00
2016-09-16 11:20:14 -07:00
2016-09-14 18:44:24 -07:00
2016-09-14 18:44:24 -07:00
2016-09-14 18:44:24 -07:00
2016-09-16 11:20:14 -07:00
2016-09-20 13:24:18 -05:00
2016-08-30 19:01:44 -07:00
2016-09-23 09:21:15 -07:00
2016-09-16 11:20:14 -07:00
2016-09-24 13:21:20 +03:30
2016-09-16 11:36:37 -07:00
2016-09-28 18:18:24 +02:00
2016-08-30 03:06:28 +09:00
2016-09-14 18:44:24 -07:00
2016-09-08 09:33:34 +02:00
2016-08-30 17:28:00 -05:00
2016-08-29 13:28:16 +02:00
2016-09-14 18:44:24 -07:00
2016-09-19 16:23:24 +09:00
2016-09-20 20:01:18 +02:00
2016-09-07 20:43:01 +09:00
2016-09-16 11:20:14 -07:00
2016-09-22 14:47:00 -07:00
2016-09-14 18:44:24 -07:00
2016-09-27 14:59:17 -07:00
2016-08-30 18:54:16 -07:00
2016-09-23 13:34:30 -07:00
2016-09-20 11:18:23 -05:00

DefinitelyTyped Build Status

Join the chat at https://gitter.im/borisyankov/DefinitelyTyped

The repository for high quality TypeScript type definitions.

For more information see the definitelytyped.org website.

Usage

Include a line like this:

/// <reference path="jquery.d.ts" />

Contributions

DefinitelyTyped only works because of contributions by users like you!

Please see the contribution guide on how to contribute to DefinitelyTyped.

How to get the definitions

List of definitions

Requested definitions

Here are the currently requested definitions.

License

This project is licensed under the MIT license.

Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file.

Analytics

Description
No description provided
Readme MIT 278 MiB
Languages
TypeScript 100%