now that we have map types it would nice being able to map properties to function parameters
type Constructor<T> = (P in T) => T;
interface Data {
name: string;
value: number;
}
type CreateData = Constructor<Data>;
would desugar to
type CreateData = (name: string, value: number) => Data;
now that we have map types it would nice being able to map properties to function parameters
would desugar to