Skip to content

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

167 B
Raw Blame
type AllowString<T extends string> = T;
type AllowNumber<T extends number> = T;

type CreateLogger<T extends (a: number) => void> = {
  log: T;
  exit: () => void;
};