The interfaces for extent don't seem to cover the common date extent scenario - I can see there's one covering generics with a generic argument accessor but it's return type is still limited to 'primitive' (toString()-able) or the original object type 'U' - not a date typed property of U.
In any case the standard x.domain(d3.extent(data, d=> d.date)) where data is an array of objects currently gives type errors in typescript - maybe this fix is a very specific case and there's a better generic way to approach, but I can see there are already dedicated overloads for [number, number] and [string, string]
# By Ilya Mochalov (82) and others
# Via Masahiro Wakame (803) and others
* 'master' of github.com:DefinitelyTyped/DefinitelyTyped: (3036 commits)
Update authors as per @mtraynham request
Partial revert of 1f3e28f - remove duplicate svgRendering identifier
Revert "Add NavbarHeader to react-bootstrap"
added in custom error classes
removed duplicate element "require"
Split into different folders
Add more definitions based on documentation.
Removed implicit any types
Updated IDialogOptions to include contentElement property for prerendered dialogs. Updated IPromptDialog to add initialValue method. Adding missing semicolon to IPanelConfig.
Fixed paths in v1 files
Create a copy of the old v1 files
Updated IDialogOptions to include contentElement property for prerendered dialogs. Updated IPromptDialog to add initialValue method. Adding missing semicolon to IPanelConfig.
Added interfaces for Angular Material $mdPanel service, MdPanelPosition type, and MdPanelAnimation type as part of release 1.1.0-rc.5 (2016-06-03). Updated IDialogService show method to include previously added IPromptDialog.
changed serializers as per package author
Fix ua-parser-js definitions. Fix code style.
Improved testing and add property "context" in OptionsObj
Fix type for Lovefield RawForeignKeySpec object
Fix ua-parser-js definitions.
Fix ua-parser-js definitions.
Update atmosphere.d.ts
...
Conflicts:
state-machine/state-machine.d.ts