UNPKG

babel-plugin-typecheck

Version:

Transforms flow type annotations into runtime type checks.

15 lines (12 loc) 207 B
interface Thing { name: string; }; interface Person { age: number; }; interface User extends Thing, Person { isActive: boolean; } export default function demo (input: User): User { return input; }