TypeScript provides static typing through type annotations to enable type checking at compile time. |
TypeScript обеспечивает объявления типов для статической проверки их согласования. |
Type annotations can be exported to a separate declarations file to make type information available for TypeScript scripts using types already compiled into JavaScript. |
Определения типов могут быть экспортированы в отдельный файл объявлений, чтобы сделать информацию о типах доступной для сценариев TypeScript с использованием различных типов уже скомпилированных в JavaScript. |
When a TypeScript script gets compiled there is an option to generate a declaration file (with the extension.d.ts) that functions as an interface to the components in the compiled JavaScript. |
Когда сценарий TypeScript будет скомпилирован, есть опция для создания файла декларации (с расширением.d.ts), который используется как интерфейс к компонентам в скомпилированном JavaScript. |
JetBrains supports TypeScript with code completion, refactoring and debugging in its IDEs built on IntelliJ platform, such as PhpStorm 6, WebStorm 6, and IntelliJ IDEA, as well as their Visual Studio Add-in and extension, ReSharper 8.1. |
Visual Studio Code JetBrains поддерживает TypeScript включая компиляцию, рефакторинг и отладку в IDE на платформе IntelliJ, например, PhpStorm 6, WebStorm 6, и IntelliJ IDEA, а также в их расширении для Visual Studio ReSharper 8.1. |
The resulting declaration file can then be used to describe the exported virtual TypeScript types of a JavaScript library or module when a third-party developer consumes it from TypeScript. |
Итоговый файл декларации может быть использован для описания экспортируемых виртуальных типов TypeScript библиотеки JavaScript или модуля, когда сторонний разработчик использует их в TypeScript. |