Making @throws have a conditional type fixes #31