New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dataValidation does not exist on type Excel.range #396
Comments
@ianchouinard sorry to hear that you've run into this problem; we'll look into this and respond on this thread when there's info to share. @AlexJerabek - FYI since this issue relates to the Excel APIs, I've assigned it to you. Can you please investigate? Thanks! |
Thanks @kbrandl. @ianchouinard, I checked in DefinitelyTyped and the current definitions file does have |
Hi @ianchouinard, |
That workaround worked for me. Thank you @AlexJerabek |
Since this issue is a problem with the Yeoman Generator for Office Add-ins (and not with the Office Add-ins documentation), we're going to transfer this issue to the OfficeDev/generator-office repository (where issues related to the Yeoman Generator for Office Add-ins are tracked). Tracking internally with 2762328. |
Pull request #397. |
Just installed the office add-in generator via yeoman 2 days ago. Created an angular/typescript excel add in. Trying to follow the examples here, but am getting the following type error dataValidation does not exist on type range.
When looking at the range class in the typings file for office-js, dataValidation isn't listed there.
I understand that range.dataValidation is from API v1.8, but I just installed the office add in generator via yeoman 2 days ago (so it should be there), and it is not clear how I check what version of the API I currently have, or how to update.
Thanks
package.json
versions shown in manifest
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: