Module
DTS
- Package
- purescript-dts
- Repository
- thought2/purescript-dts
Re-exports from DTS.Print
#printTsType Source
printTsType :: TsType -> TsSource
#printTsModule Source
printTsModule :: TsModule -> TsSource
Re-exports from DTS.Types
#TsTypeArgsQuant Source
#TsType Source
data TsType
Represents a subset of TypeScript types
Constructors
TsTypeNumber
TsTypeString
TsTypeBoolean
TsTypeNull
TsTypeArray TsType
TsTypeReadonlyArray TsType
TsTypeIntersection (Array TsType)
TsTypeUnion (Array TsType)
TsTypeTuple (Array TsType)
TsTypeReadonlyTuple (Array TsType)
TsTypeRecord (Array TsRecordField)
TsTypeFunction TsTypeArgsQuant (Array TsFnArg) TsType
TsTypeConstructor TsQualName TsTypeArgs
TsTypeUniqueSymbol
TsTypeVar TsName
TsTypeTypelevelString String
TsTypeTypelevelNumber Number
TsTypeVoid
Instances
#TsRecordField Source
#TsQualName Source
#TsDeclaration Source
data TsDeclaration
Represents 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