interface _Test { method: () => void } export default function () { throw new Error('error') }