UNPKG

babel-plugin-typecheck

Version:

Transforms flow type annotations into runtime type checks.

9 lines (8 loc) 125 B
class Foo { bar(v : string) { } } export default function test () { const x = new Foo(); x.bar("hello world"); }