Skip to content

Instantly share code, notes, and snippets.

@gajus
Created October 1, 2015 16:48
Show Gist options
  • Save gajus/89bc8e76a06b564916a8 to your computer and use it in GitHub Desktop.
Save gajus/89bc8e76a06b564916a8 to your computer and use it in GitHub Desktop.
export type cell = string;
export type row = Array<cell>;
/* @flow */
import type {
row
} from './types';
/**
* @param rows
* @returns {undefined}
*/
export default (rows: row[]) => {};
@gajus
Copy link
Author

gajus commented Oct 1, 2015

curiosity:table gajus$ flow check

/Users/gajus/Documents/dev/gajus/table/interfaces/table.js:1:1,26: export type type cell = ...
Type is incompatible with (unclassified use type: SetNamedExportsT)
(global): module

/Users/gajus/Documents/dev/gajus/table/interfaces/table.js:2:1,30: export type type row = ...
Type is incompatible with (unclassified use type: SetNamedExportsT)
(global): module

/Users/gajus/Documents/dev/gajus/table/src/validateData.js:5:8,30: table.js
Required module not found

Found 3 errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment