variant: "button-brand" "button-primary" "button-primary-inverse" "button-secondary"…
Private research annotation
Sign in to add a private research label or note.
- User
variant: "button-brand" | "button-primary" | "button-primary-inverse" | "button-secondary" | "button-tertiary" | "button-ghost" | "underlined" | "unstyled"
codeconst variantClass = variant.replace('button-' as const, '' as const);variantClass is of type string, how can it be typesafe ?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.