Open ruipimentel opened 6 years ago
@ruipimentel Hi, did you eventually get the types for typescript?
@MariDani Hi!
Unfortunately I did not. Had to take a break at that project, even though I still search a solution for it from time to time.
If you ever get to find the types, please let people know about it here, ok? :D
Thanks in advance!
Even though I still haven't found @types
for D3-3D, at least I found a way to import it inside of an Angular 6 project without getting errors.
import { _3d } from 'd3-3d';
Then, instead of using it as shown on the repo's homepage (d3._3d()
), just proceed to call _3d()
directly.
I created a pull request that fixes the issue https://github.com/Niekes/d3-3d/pull/29
I upstreamed my pull request to @types
. The types is available under @types/d3-3d
.
https://www.npmjs.com/package/@types/d3-3d
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/70087
Hi! First of all, thank you for the amazing lib! It's the perfect companion for D3.
I've been using the latter in an Angular 6 project and it has its Typings available at:
Now, it's time to turn my charts into 3D. :chart_with_upwards_trend: Is there a way to obtain Typings for D3-3D also?
Thanks in advance!