UNPKG

babel-plugin-typecheck

Version:

Transforms flow type annotations into runtime type checks.

11 lines (9 loc) 155 B
interface Thing { name: string; }; interface User extends Thing { age: number; } export default function demo (input: User): User { return input; }