title Flow Simple failing example /* @flow */ function foo(x) { return x * 10; } foo('Hello, world!'); Annotations // Simple function foo(x: string, y: number): string { ... } // Arrays function total(numbers: Array<number>) { ... }