Module
TsBridge.DTS
- Package
- purescript-ts-bridge
- Repository
- thought2/purescript-ts-bridge
#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
#TsNameError Source
#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
#dtsFilePath Source
dtsFilePath :: String -> TsFilePath
#printError Source
printError :: Error -> String
#printTsName Source
printTsName :: TsName -> String
#unsafeTsName Source
unsafeTsName :: String -> TsName