Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NullableMarkerReflectType = reflect.TypeOf((*TSNullableMarker)(nil)).Elem()
View Source
var OptionalMarkerReflectType = reflect.TypeOf((*TSOptionalMarker)(nil)).Elem()
Functions ¶
func IsMarkedNullable ¶
func IsMarkedOptional ¶
Types ¶
type Results ¶
type Results struct { Types []*TypeInfo // contains filtered or unexported fields }
func ProcessTypes ¶
func (*Results) GetTypeInfo ¶
type TSNullableMarker ¶
type TSNullableMarker interface{ TSNullable() }
type TSOptionalMarker ¶
type TSOptionalMarker interface{ TSOptional() }
type TypeInfo ¶
type TypeInfo struct { OriginalName string ResolvedName string ReflectType reflect.Type TSStr string // contains filtered or unexported fields }
func (*TypeInfo) IsTSBasicType ¶
func (*TypeInfo) IsTSUndefined ¶
func (*TypeInfo) IsTSUnknown ¶
Click to show internal directories.
Click to hide internal directories.