From fa964a56d44b8430f771c2dc3592cd78cfd04cca Mon Sep 17 00:00:00 2001 From: crptm Date: Thu, 25 May 2017 02:39:58 +0400 Subject: [PATCH] make flow work with aliasing --- .flowconfig | 2 ++ common/containers/App/index.jsx | 1 + 2 files changed, 3 insertions(+) diff --git a/.flowconfig b/.flowconfig index 4a58bdcd..bdfdfb40 100644 --- a/.flowconfig +++ b/.flowconfig @@ -5,3 +5,5 @@ [libs] [options] +module.system.node.resolve_dirname=node_modules +module.system.node.resolve_dirname=common diff --git a/common/containers/App/index.jsx b/common/containers/App/index.jsx index 3cf87b03..817e5ae8 100644 --- a/common/containers/App/index.jsx +++ b/common/containers/App/index.jsx @@ -1,3 +1,4 @@ +// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Footer, Header } from 'components';