gpt4 book ai didi

typescript - 如何在 VS 2015 中使用 Typescript 1.7.2?

转载 作者:搜寻专家 更新时间:2023-10-30 20:40:34 25 4
gpt4 key购买 nike

我看到 Typescript 1.7.2 已经在几天前在 GitHub 上发布了。

我现在如何在 VS 2015 中使用它?

我安装了 TS 扩展,但它是 1.6.3。

最佳答案

最新Visual Studio 2015 Update 1 RC附带 TypeScript 1.7 支持。

来自发行说明:

TypeScript

Visual Studio 2015 Update 1 includes features from the 1.6 and 1.7 releases of the TypeScript tools. It brings significant enhancements to TypeScript's type system and enables support for the polymorphic type, intersection types, local type declarations, generic type aliasing, and user-defined type guard functions.

It also completes ES6 support in TypeScript by adding ES6 Generators and ES6 Class expressions, and brings support for new ES7 feature proposals like ES7 Exponentiation operator and ES7 Async functions.

Additionally, React's JSX is now natively supported by the TypeScript compiler and tooling. This release also enables targeting Node v4's native implementations of ES6 features (--target ES6) while using Node native module system (--module commonjs), apart from an enhanced support for node module path resolution.

关于typescript - 如何在 VS 2015 中使用 Typescript 1.7.2?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33278011/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com