Yes, you can achieve this using as const to preserve the literal type of fields:
const user = { fields: ["name"] as const };