export default function currentUser() {
  const url = "/me";

  return this.request({
    url,
    method: "GET"
  });
}

/* @flow */

export default function currentUser(): Promise {
  const url = "/me";

  return this.request({
    url,
    method: "GET"
  });
}

Add flow to currentUser