Skip to content

Instantly share code, notes, and snippets.

@mvolkmann
Created Jan 6, 2017
Embed
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