Coder Social home page Coder Social logo

Comments (4)

Zlatkovsky avatar Zlatkovsky commented on August 10, 2024

@KingHenne , thanks for bringing this up to our attention. I will forward this on to the Outlook team, but just for reference, you can always feel free to just submit a pull request on https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/office-js/index.d.ts. It is the "source of truth" for the TypeScript definitions, and will get merged in her automatically a short while after it's made it into the DefinitelyTyped repo.

from office-js.

unstubbable avatar unstubbable commented on August 10, 2024

I was hoping the typings for office.js are generated by the office dev team and then submitted to DefinitelyTyped. Is that not the case?

from office-js.

Zlatkovsky avatar Zlatkovsky commented on August 10, 2024

It is sorta that case, but with a bit of an asterisk.

  • For any of the "2016" wave of Office.js host-specific APIs for Word/Excel/OneNote (i.e., objects that hang off of the Excel, Word, etc. namespace), IntelliSense is 100% code-gen-ed.
  • For any of the 2013 APIs, or for Outlook (which still uses the Office.context.____Async pattern), IntelliSense is (was) manually generated. The d.ts file received somewhat less attention than the VSDOC (JavaScript IntelliSense for VS 2015 and earlier), so there may be occasional gaps, like the one you found, though we are working on closing these.

In both cases, the Office dev team (usually myself) submit updates to DefinitelyTyped and to here. But for the manually-written IntelliSense, it has to be manually written first :-)

from office-js.

unstubbable avatar unstubbable commented on August 10, 2024

Fixed with DefinitelyTyped/DefinitelyTyped#17776. Thanks!

from office-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.