message: Use Record type because it's nice
diff: -export default function(params: { [k: string]: string }) {
  +export default function(params: Record<string, string>) {
  return Object.entries(params).map(
  entry => entry.map(comp => encodeURIComponent(comp)).join('='),
  ).join('&');
  