error TS2339: Property 'comments' does not exist on type 'Worksheet'. microsoft /Office-js

396 Views Asked by At

I have updated "@microsoft/office-js" from ^1.1.25 to "^1.1.70" and I'm trying to use comments in my angular project. I have added CDN link in index.html file head tag of the project. I want to use add() method of CommentCollection. https://learn.microsoft.com/en-us/javascript/api/excel/excel.commentcollection?view=excel-js-preview

Kindly help to fix the error .

0

There are 0 best solutions below