"""
//------------------------------------------------------------------------------
// <auto-generated>
// This code was auto generated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Vide
open System.Runtime.CompilerServices
open Browser.Types
open Vide
open Vide.HtmlApiPreparation
module HtmlEnumAttributeTypes =
{{for t in enumTypes}}
type {{t.name}} = {{for l in t.labels}}
| {{l.name}} {{end}}
with override this.ToString() =
match this with {{for l in t.labels}}
| {{l.name}} -> "{{l.value}}" {{end}}
{{end}}
"""
Maybe a duplicate, but anyway: