It looks to me like ImageField is supposed to accept multiple ThumbnailNames as a union, but that doesn't work. Am I using it wrong?
import * as prismicT from "@prismicio/types"
const img1: prismicT.ImageField<"small">
img1.small // fine
const img2: prismicT.ImageField<"small" | "medium">
img2.small // Property 'small' does not exist on type...
It looks to me like ImageField is supposed to accept multiple ThumbnailNames as a union, but that doesn't work. Am I using it wrong?
Playground