Hey! Are you staying home? We are too. Still, we prepared a new product release for you!🚀

We hope it comes in handy for your business especially these days. Stay safe & pivot on!

use webdatarocks in typescript


I want to use webdatarocks library in typescripts. pls suggest a way to do it. 

3 answers

WebDataRocks Team WebDataRocks October 30, 2019

Hello, Chanuka,
Thank you for writing.
WebDataRocks is simply embedded in TypeScript projects, using d.ts file which you can find by following the link: https://github.com/WebDataRocks/pivot-angular/blob/master/src/app/webdatarocks/webdatarocks.d.ts.
Place the file in a folder, containing WebDataRocks. Please note, that file has to have the same name as the JavaScript file – webdatarocks.d.ts.
We hope it helps.
WebDataRocks Team

garvitk November 9, 2019

Hi WebDataRocks Team, 
I am unable to use Webdatarocks with react in Typescript. 
Do you guys have example for that?

WebDataRocks Team WebDataRocks December 16, 2019

Thank you for giving us some time.
Our team would like to kindly suggest you checking out the sample placed on GitHub.
WebDataRocks Team

Please login or Register to Submit Answer