OfficeDev / office-js-docs

[ARCHIVED] Microsoft Office Add-ins API Reference Documentation
https://docs.microsoft.com/javascript/api/overview/office
398 stars 247 forks source link

Incomplete list of Word.UnderlineType enumeration #1450

Closed cindymeister closed 6 years ago

cindymeister commented 6 years ago

The list of Word.UnderlineType is not complete. Has the list been expanded since the documentation was written for Requirement Set 1.1?

Article URL

https://github.com/OfficeDev/office-js-docs/blob/master/reference/word/enums.md https://dev.office.com/reference/add-ins/word/font

Issue

I was working in Script Lab, where there's IntelliSense, and at the same time comparing the list of Word.UnderlineType available there with that on the dev.office.com site. I noticed that there are many more entries available than listed in the documentation. And the list on GitHub is not complete, either.

AlexJerabek commented 6 years ago

Hi @cindymeister, Thanks for pointing this out. Accurate type definitions can be found at the DefinitelyTyped repo.

FWIW, we're in the process of converting our reference documentation to an autogenerated system based on that d.ts. Those docs should be released soon.

cindymeister commented 6 years ago

Thanks. I'll be looking forward to the update.

AlexJerabek commented 6 years ago

Hi @cindymeister

We're still implementing the redirects from the old API reference site, but the new docs are live. https://docs.microsoft.com/en-us/javascript/api/word/word.font?view=office-js

These docs are generated from the information in Definitely Typed. They should perfectly match the current TypeScript definitions. If you find any discrepancies, please let us know on the new repo.