Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to use with flow? #906

Closed
capaj opened this issue Jun 1, 2017 · 2 comments

Comments

@capaj
Copy link
Contributor

commented Jun 1, 2017

I'd love to use standard on a project where I use flow. Problem is whenever I try to use flow declarations-those are basically flow globals which are declared in my flow-typed directory.
Now the problem is these globals are obviously marked as not defined by standard.

Is there any way to tell standard that he should not flag a declared type as a not defined?

/home/capaj/git_projects/looop/project-alpha/back-end/src/route/handlers/login-post.js
  52:28  error  '$Request' is not defined
  52:43  error  '$Response' is not defined

Only solution I can think of is to write

/* global $Request, $Response */

but that's just plain dumb.

@Flet

This comment has been minimized.

Copy link
Member

commented Jun 8, 2017

@Flet Flet closed this Jun 8, 2017

@Flet

This comment has been minimized.

Copy link
Member

commented Jun 8, 2017

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.