Can I get the following by installing an npm module?
Codeimport type { ClearFilesEvent, UploadFilesEvent } from 'survey-events-api';
Right now, I had to import survey-events-api.d.ts into my project.
Can I get the following by installing an npm module?
Codeimport type { ClearFilesEvent, UploadFilesEvent } from 'survey-events-api';
Right now, I had to import survey-events-api.d.ts into my project.
Hello Marshall,
The code should be the following:
JavaScriptimport { ClearFilesEvent, UploadFilesEvent } from 'survey-core';
Unfortunately it will work from the next version that we will release tomorrow/after tomorrow.
We forgot to add export for all these event interfaces. We have added them several days ago.
Thank you,
Andrew
SurveyJS Team