Enable Flow Strict

This commit is contained in:
Victor Zhou
2019-07-31 22:05:23 -04:00
parent 39dc60b016
commit 0ba0cc9c61
81 changed files with 93 additions and 87 deletions

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import { getContactHref } from '../../../utils';
import styles from './Author.module.scss';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';
import { useStaticQuery, StaticQuery } from 'gatsby';

View File

@@ -1,2 +1,2 @@
// @flow
// @flow strict
export { default } from './Author';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import ReactDisqusComments from 'react-disqus-comments';
import { useSiteMetadata } from '../../../hooks';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';
import { useStaticQuery, StaticQuery } from 'gatsby';

View File

@@ -1,2 +1,2 @@
// @flow
// @flow strict
export { default } from './Comments';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import styles from './Content.module.scss';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';
import Content from './Content';

View File

@@ -1,2 +1,2 @@
// @flow
// @flow strict
export { default } from './Content';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import moment from 'moment';
import styles from './Meta.module.scss';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';
import Meta from './Meta';

View File

@@ -1,2 +1,2 @@
// @flow
// @flow strict
export { default } from './Meta';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import { Link } from 'gatsby';
import Author from './Author';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';
import { useStaticQuery, StaticQuery } from 'gatsby';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import { Link } from 'gatsby';
import styles from './Tags.module.scss';

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';
import Tags from './Tags';

View File

@@ -1,2 +1,2 @@
// @flow
// @flow strict
export { default } from './Tags';

View File

@@ -1,2 +1,2 @@
// @flow
// @flow strict
export { default } from './Post';