Question T7657
Visible to All Users

Question :: How can I get SurveyJs types when I am adding SurveyJs through CDN in my app

created 3 years ago

Hi Team,

First of all, I really loved the way how this library evolved. I am using this from 2018.

Bundle size of survey-angular was something we were really concerned of earlier.
Now, we are using the CDN and everything seems good with this.

The only question I have is whether we have any packages with surveyjs types ?

If we have one, then I can add it as dev dependency which will be win-win. (I can get type intellisense during dev and will not be part of final main.js bundle)

I am just referring if SurveyJs got any package similar to @types/jquery or @types/node etc.

Thanks,
Akhil

Answers approved by surveyjs Support

created 3 years ago

Hello,

All SuveyJS libraries contain d.ts files in published NPM packages. You can use them in your application.

Thank you,
Alex
SurveyJS Team