Module
DTS
- Package
- purescript-dts
- Repository
- thought2/purescript-dts
Re-exports from DTS.Print
#printTsType Source
printTsType :: TsType -> TsSource#printTsModule Source
printTsModule :: TsModule -> TsSourceRe-exports from DTS.Types
#TsTypeArgsQuant Source
#TsType Source
data TsTypeRepresents a subset of TypeScript types
Constructors
TsTypeNumberTsTypeStringTsTypeBooleanTsTypeNullTsTypeArray TsTypeTsTypeReadonlyArray TsTypeTsTypeIntersection (Array TsType)TsTypeUnion (Array TsType)TsTypeTuple (Array TsType)TsTypeReadonlyTuple (Array TsType)TsTypeRecord (Array TsRecordField)TsTypeFunction TsTypeArgsQuant (Array TsFnArg) TsTypeTsTypeConstructor TsQualName TsTypeArgsTsTypeUniqueSymbolTsTypeVar TsNameTsTypeTypelevelString StringTsTypeTypelevelNumber NumberTsTypeVoid
Instances
#TsRecordField Source
#TsQualName Source
#TsDeclaration Source
data TsDeclarationRepresents a subset of TypeScript type declarations
Constructors
TsDeclTypeDef TsName TsDeclVisibility (OSet TsName) TsTypeTsDeclValueDef TsName TsDeclVisibility TsTypeTsDeclComments (Array String)
Instances
#PropModifiers Source
type PropModifiers = { optional :: Boolean, readonly :: Boolean }#printTsName Source
printTsName :: TsName -> String