mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Note on using ES6 as the target
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
--target es6 --noImplicitAny --jsx react
|
||||
--target ES6 --noImplicitAny --experimentalDecorators --jsx react
|
||||
|
||||
1
react-native/react-native.d.ts
vendored
1
react-native/react-native.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user