Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

182 B
Raw Blame
type ApiRequest<Data, Method = 'GET'> = {
  data: Data;
  method: Method;
};

type TSConfig<Config extends { strict: boolean } = { strict: true }> = {
  strict: Config['strict'];
};