Skip to content

Commit

Permalink
Replace @flow with @flow strict
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Feb 19, 2018
1 parent c7ddd69 commit da5242b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/interfaces/express.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @flow */
/* @flow strict */
/* Flow declarations for express requests and responses */
/* eslint-disable no-unused-vars */
declare class Request {
Expand Down
3 changes: 2 additions & 1 deletion src/__tests__/http-test.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/* @flow */
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow strict
*/

// 80+ char lines are useful in describe/it, so ignore in this file.
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/* @flow */
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow strict
*/

import accepts from 'accepts';
Expand Down
3 changes: 2 additions & 1 deletion src/parseBody.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/* @flow */
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow strict
*/

import contentType from 'content-type';
Expand Down
3 changes: 2 additions & 1 deletion src/renderGraphiQL.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/* @flow */
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow strict
*/

type GraphiQLData = {
Expand Down

0 comments on commit da5242b

Please sign in to comment.