UNPKG

babel-plugin-typecheck

Version:

Transforms flow type annotations into runtime type checks.

7 lines (6 loc) 124 B
export default function demo (input) { let func = (arg : number) => { let x : number = arg } return func(input) }