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
- TsTypeNumber
- TsTypeString
- TsTypeBoolean
- TsTypeNull
- TsTypeArray TsType
- TsTypeReadonlyArray TsType
- TsTypeIntersection (Array TsType)
- TsTypeUnion (Array TsType)
- TsTypeRecord (Array TsRecordField)
- TsTypeFunction TsTypeArgsQuant (Array TsFnArg) TsType
- TsTypeConstructor TsQualName TsTypeArgs
- TsTypeUniqueSymbol
- TsTypeVar TsName
- TsTypeTypelevelString String
- TsTypeVoid
Instances
#TsRecordField Source
#TsQualName Source
#TsDeclaration Source
data TsDeclarationRepresents a subset of TypeScript type declarations
Constructors
- TsDeclTypeDef TsName TsDeclVisibility (OSet TsName) TsType
- TsDeclValueDef TsName TsDeclVisibility TsType
- TsDeclComments (Array String)
Instances
#PropModifiers Source
type PropModifiers = { optional :: Boolean, readonly :: Boolean }#printTsName Source
printTsName :: TsName -> String