This is the first post on slowdoctor.dev. More to come.
type Direction = "slow" | "fast";
function chooseWay(direction: Direction) {
return direction === "slow" ? "the right way" : "the easy way";
}
By Joonho Lim
April 7, 2026
This is the first post on slowdoctor.dev. More to come.
type Direction = "slow" | "fast";
function chooseWay(direction: Direction) {
return direction === "slow" ? "the right way" : "the easy way";
}