DefinitelyTyped project for IBM MobileFirst and Hybrid Mobile Apps

I’ve blogged before about the client-side API for hybrid mobile apps built on IBM MobileFirst. One of the things I’ve discovered recently is the library of DefinitlyTyped definition files for TypeScript developers. These files provide intellisense for a huge set of various frameworks and client-side code written in TypeScript. Turns out though that you can also use them in regular old JavaScript files too. My editor of choice (Visual Studio Code) has [great support]( for this. You can simply get the file, drop it into your project, and go to town.

So with that in mind - I started working on a DefinitelyTyped file for MobileFirst. I had to guess a bit at exactly how to do it, and I probably did a few things wrong, but you can get the work in progress here: As you will see in the ReadMe, I’ve covered a few of the main classes in the WL namespace (this is the core namespace for the API). I’m looking for feedback on how I built it as well as volunteers to help complete the library with a pull request.

In case your curious as to how well this works, check out the video below:

As a side note - you can get definition files for Apache Cordova and Ionic as well!

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on April 14, 2016