UNPKG

babel-plugin-typecheck

Version:

Transforms flow type annotations into runtime type checks.

7 lines 145 B
export default function demo (input: Set<number>): number { let total = 0; for (let item of input) { total += item; } return total; }