We have updated WebDataRocks EULA, effective as of April 18, 2024. Learn more about what's changed.

use webdatarocks in typescript

Answered

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

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.
 
Regards,
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?
Thanks,
Garvit

WebDataRocks Team WebDataRocks December 16, 2019

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