I attempted to integrate a d3 slider into my d3 chart in Angular 2. I installed the d3slider package using the command: npm install --save @types/d3.slider. However, when trying to access the method "d3.slider()", an error occurred stating that "property slider does not exist on type 'types of d3'". Can someone please point out where I went wrong or suggest a solution to this issue? I am utilizing version 4.8.0 of d3 and version 0.0.4 of d3 slider, both believed to be the latest versions. If anyone has successfully implemented a d3slider chart in TypeScript, kindly share your code as it may help resolve my problem.