From 548ce0ce37053edfd0f325e64e46732696848934 Mon Sep 17 00:00:00 2001 From: Luca Nils Schmid Date: Mon, 4 Dec 2017 11:53:07 +0100 Subject: [PATCH] document new way to include flow --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 04e7f97a4..8c29ba99e 100644 --- a/README.md +++ b/README.md @@ -300,11 +300,7 @@ And finally kudos for all the people that believed in, tried, validated and even * Use `npm test` to run the basic test suite, `npm run coverage` for the test suite with coverage and `npm run perf` for the performance tests. ## Flow support -MobX ships with flow typings. To use them in your project, add this to the `[libs]` section of your `.flowconfig`: -``` -[libs] -node_modules/mobx/lib/mobx.js.flow -``` +MobX ships with flow typings. Flow will automatically include them. Though you cannot ignore `node_modules` in your `.flowconfig` and a you **cannot** import it explicitly in the `[libs]` section. ## Bower support