Use satisfies for config objects, not a type annotation
A type annotation widens the value to the type. satisfies checks the value against the type and keeps the literal, so autocompletion and narrowing still know what is actually in there.
export const home = { order: ["bio", "posts"], limit: 3 } satisfies Home;
// home.order is ("bio" | "posts")[], not string[]Every config file in this monorepo uses it, and the site-config package would be much less useful without it.
typescript