Module
DTS.Types
- Package
- purescript-dts
- Repository
- thought2/purescript-dts
#PropModifiers Source
type PropModifiers = { optional :: Boolean, readonly :: Boolean }
#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
#TsQualName Source
#TsRecordField 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)
TsTypeRecord (Array TsRecordField)
TsTypeFunction TsTypeArgsQuant (Array TsFnArg) TsType
TsTypeConstructor TsQualName TsTypeArgs
TsTypeUniqueSymbol
TsTypeVar TsName
TsTypeTypelevelString String
TsTypeVoid
Instances
#TsTypeArgsQuant Source
#printTsName Source
printTsName :: TsName -> String