html icon indicating copy to clipboard operation
html copied to clipboard

Recursive type alias in Html module's documentation

Open wombatbuddy opened this issue 1 year ago • 0 comments

In the source code of the Html module the "Attribute msg" alias is declared as follows:

type alias Attribute msg = VirtualDom.Attribute msg

But in the documentation we see the following definition:

type alias Attribute msg = Attribute msg

It looks like the "Recursive type aliases" and may be confusing for newbies.

wombatbuddy avatar Oct 07 '24 17:10 wombatbuddy