mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Add note about TS 2.2
This commit is contained in:
committed by
GitHub
parent
910f23afe6
commit
9f4e9b119f
@@ -5,7 +5,7 @@
|
|||||||
We are moving the modules closer to ES6 standard. This introduces few limitations. One of them is modules can no longer export variable, in such cases variables were replaced with get/set functions.
|
We are moving the modules closer to ES6 standard. This introduces few limitations. One of them is modules can no longer export variable, in such cases variables were replaced with get/set functions.
|
||||||
|
|
||||||
## TypeScript
|
## TypeScript
|
||||||
TypeScript projects need to reference the **ES6 and DOM libraries**. Add this to your tsconfig.json:
|
TypeScript projects need **TypeScript 2.2** or newer to transpile. You also need to reference the **ES6 and DOM libraries**. Add this to your `tsconfig.json`:
|
||||||
|
|
||||||
``` json
|
``` json
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user