Comment

Comment by nailer

    const error = await updateName(newName);
Why would updateName return an error? Why not just throw an Error like JS/TS?
parent nailer 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton