Note on using ES6 as the target

This commit is contained in:
bgrieder
2015-11-06 22:20:52 +01:00
parent efce0c25ec
commit c4d24f7f7e
3 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
/*
Note: This must be compiled with the target set to ES6
The content of index.io.js could be something like

View File

@@ -1 +1 @@
--target es6 --noImplicitAny --jsx react
--target ES6 --noImplicitAny --experimentalDecorators --jsx react

View File

@@ -7,6 +7,7 @@
//
// This work is mostly based on the work made by Bernd Paradies: https://github.com/bparadie
//
// These definitions are meant to be used with the compiler target set to ES6
//
// WARNING: this work is very much beta:
// -it may be missing react-native definitions