We’re happy to announce the 0.8.2 preview release of TypeScript. This release has been focused on addressing key usability feedback and filling in tooling experiences. Along the way, we’ve also incorporated some of the highest-rated feature requests and bugfixes.
Being able to see API documentation comments during Intellisense and parameter help has been a highly requested feature. In fact, it’s currently the 2nd most-requested feature in the issue tracker.
With 0.8.2, the TypeScript compiler and tools now support JSDoc comments.
In the TypeScript implementation, because types are already part of the system, we allow the JSDoc type annotation to be elided, as in the example above.
You can now document a variety of language constructs (including classes, modules, interfaces, and functions) with comments that become part of the information displayed to the user. We’ve also started extending lib.d.ts, the default JS and DOM API library, with JSDoc comments.
This capability is also part of the language service, so cross-platform tools can take advantage of it.
Many of the themes in this release center around simplifying workflow. We’ve focused on a few key areas with the aim of streamlining developing in TypeScript.
The 0.8.2 release adds initial support for compile-on-save in Visual Studio. Just as the name implies, when enabled the project or file being edited will be compiled when the changes are saved. For more information, please see the wiki page for compile-on-save.
TypeScript supports compile-on-save on the command line using the cross-platform NPM-based TypeScript compiler as well with the improved --watch compiler option. This option allows a compile to begin watching a set of files. Once a watched file is changed, the compiler rebuilds the corresponding output for that file.
thanks for this new release.
I just wonder, is there any way to generate documentation from the JSDoc comments, if not, will it be implemented in the future? JSDoc on the other hand seems to be an outdated not maintained anymore and not sure it will work out-of-the-box on typescript sources...
interesting. jsdoc appears to have "changed" ownership a few times. appears latest is on github github.com/.../jsdoc d
We can't use break point in typescript.
@Nitin - A few things to try:
Try uninstalling the TypeScript VS plugin via Add/Remove programs and then reinstalling. Also, if you're using WebEssentials, try updating to the latest version or disabling it to see if that helps.
Also, what version of Visual Studio are you using?
Is that possible, we can use data base just like sql server etc in TypeScript.
Visual Studio 2012
@Nitin Visual Studio 2012 is supported. If you try the steps I give and still have issues, do let us know.
I have already try but we are not getting new.