DefinitelyTyped / DefinitelyTyped

The repository for high quality TypeScript type definitions.
Other
48.24k stars 30.07k forks source link

Problem with D3.min and D3.max #4251

Closed DavidBanksNZ closed 7 years ago

DavidBanksNZ commented 9 years ago

Using Visual Studio Code, I imported the D3 typescript definition but have run into problems using d3.min and d3.max. It keeps saying the results of these function calls are objects, but they are actually numbers. Screenshot shows the problem

vsc-d3min

vvakame commented 9 years ago

@DavidBanksNZ please send a PR. I'll review it.

tomwanzek commented 7 years ago

As part of some legacy D3v3 issue clean-up, can this issue be please closed?

D3v4 has been released and supported with actively maintained definitions for several months now, so it would be great to have only current issues open for clarity.

Thanks in advance!

cc @gustavderdrache @andy-ms