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
const getContactHref = (name: string, contact: string) => {
let href;

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import getContactHref from './get-contact-href';
test('getContactHref', () => {

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import { ICONS } from '../constants';
const getIcon = (name: string) => {

View File

@@ -1,4 +1,4 @@
// @flow
// @flow strict
import getIcon from './get-icon';
import { ICONS } from '../constants';

View File

@@ -1,3 +1,3 @@
// @flow
// @flow strict
export { default as getIcon } from './get-icon';
export { default as getContactHref } from './get-contact-href';