flow2schema/tests/samples/generics.js

11 lines
94 B
JavaScript

type A<T, K> = {
t: T,
k: K,
};
type X = {
a: A<string, number>,
};
export {X};