|New TypeScript Website Launched|
|Written by Ian Elliot|
|Monday, 17 August 2020|
TypeScript Website has launched on typescriptlang.org. Orta Therox, an engineer on the TypeScript compiler, said:
"The new version of the website was built out of a desire to make the documentation for TypeScript feel as expansive as its type-system, with a design that fits modern Microsoft styles."
Other design changes for the updated site include completely separate navigation for mobile and desktop versions, and a search option for the documentation. The Playground code explorer area has been redesigned to include interactive interwoven code samples within the existing documentation.
In more practical terms, the code samples are being moved to use a new TypeScript markup format called twoslash. Twoslash code samples use the TypeScript compiler to generate accurate error messages, get compiler outputs, and query hover tooltips for quick-info. This information can then be rendered in a static page for code samples.
One of the biggest areas for improvement was documentation for the collection of over 100 compiler flags. The new website also includes a long-form description for all the 100+ compiler flags and examples are compiler-backed, meaning that the examples show exactly what happens when a particular config is changed.
Summer SALE Kindle 9.99 Paperback $10 off!!
or email your comment to: firstname.lastname@example.org
|Last Updated ( Monday, 17 August 2020 )|