Find out which office.js requirement set my code is using

Find out which office.js requirement set my code is using
4

Upvotes

Upvote

 Nov 16 2022
0 Comments 
New

I'm developing an Office.js Excel addin and I would like to track client compatibility.

There is not any way to inspect code to detect the maximum value of requirement set.

There is no automated way to see what Req Sets are used by our code.
Developers are responsible for checking the requirement set before using a particular method or property in the code of Office add-ins, but in our context is too much responsibility for junior developers.

That would be a valuable tool that can give a tangible value for req set and client compatibility governance.

A very minimal MVP could be a filtered type interfaces like @types/office-js@req-set1.2.