From 7597cfc5fba90b33d7191b53997cc772de31d426 Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Sun, 21 Sep 2014 19:22:22 +0200 Subject: [PATCH] Add stripTypes option to npm docs --- npm-react-tools/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/npm-react-tools/README.md b/npm-react-tools/README.md index f2073866e8..1ffd440690 100644 --- a/npm-react-tools/README.md +++ b/npm-react-tools/README.md @@ -27,6 +27,7 @@ This package installs a `jsx` executable that can be used to transform JSX into --output-charset Charset of output (default: utf8) --harmony Turns on JS transformations such as ES6 Classes etc. --source-map-inline Embed inline sourcemap in transformed source + --strip-types Strips out type annotations ## API @@ -37,6 +38,7 @@ option | values | default `sourceMap` | `true`: append inline source map at the end of the transformed source | `false` `harmony` | `true`: enable ES6 features | `false` `filename` | the output filename for the source map | `"source.js"` +`stripTypes` | `true`: strips out type annotations | `false` ```js var reactTools = require('react-tools');