Skip to content

Instantly share code, notes, and snippets.

Created January 6, 2017 00:54
What would you like to do?
CommonJS Flow example
// @flow
function product(a, b) {
return a * b;
exports.product = product;
// @flow
// This declaration does not satisfy Flow!
declare export function product(a: number, b: number): number;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment