func (def TypeDefinition) Type() Type {
	return def.theType
}
Type returns the type being associated with the name
package astmodel
import (
	"go/token"
	"github.com/Azure/k8s-infra/hack/generator/pkg/astbuilder"
	"github.com/dave/dst"
	"github.com/pkg/errors"
)
type TypeDefinition struct {
	name        TypeName
	description []string
	theType     Type
}
func MakeTypeDefinition(name TypeName, theType Type) TypeDefinition {
	return TypeDefinition{name: name, theType: theType}
}
func (def TypeDefinition) Name() TypeName {
	return def.name
}