StructTypes.jl icon indicating copy to clipboard operation
StructTypes.jl copied to clipboard

Update documentation of StructTypes.defaults

Open hellemo opened this issue 2 years ago • 0 comments

Make example in docstring return a NamedTuple.

I was very confused and did not get my defaults to work until I noticed that defaults(::Type{T}) where {T} returns a NamedTuple.

hellemo avatar Oct 20 '23 15:10 hellemo