Packages

object TypescriptType

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypescriptType
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class TSAlias(name: String, underlying: TypescriptType) extends TypescriptNamedType with TypescriptAggregateType with Product with Serializable

    type name = underlying

  2. case class TSArray(elementType: TypescriptType) extends TypescriptAggregateType with Product with Serializable
  3. case class TSEnum(name: String, const: Boolean, entries: ListMap[String, Option[Int]]) extends TypescriptNamedType with TypescriptAggregateType with Product with Serializable
  4. case class TSIndexedInterface(indexName: String = "key", indexType: TypescriptType, valueType: TypescriptType) extends TypescriptAggregateType with Product with Serializable

    Typescript anonymous indexed interfaces { [indexName:indexType]: valueType }

    Typescript anonymous indexed interfaces { [indexName:indexType]: valueType }

    indexType

    index type, TSNumber or TSString

  5. case class TSInterface(name: String, members: ListMap[String, TypescriptType]) extends TypescriptNamedType with TypescriptAggregateType with Product with Serializable
  6. case class TSInterfaceIndexed(name: String, indexName: String = "key", indexType: TypescriptType, valueType: TypescriptType) extends TypescriptNamedType with TypescriptAggregateType with Product with Serializable
  7. case class TSIntersection(of: Seq[TypescriptType]) extends TypescriptAggregateType with Product with Serializable
  8. case class TSLiteralBoolean(value: Boolean) extends TSLiteralType[Boolean] with Product with Serializable
  9. case class TSLiteralNumber(value: BigDecimal) extends TSLiteralType[BigDecimal] with Product with Serializable
  10. case class TSLiteralString(value: String) extends TSLiteralType[String] with Product with Serializable
  11. sealed trait TSLiteralType[T] extends TypescriptType
  12. case class TSTuple[E](of: Seq[TypescriptType]) extends TypescriptAggregateType with Product with Serializable

    Typescript tuple: [0.type, 1.type, ... n.type]

  13. case class TSTypeReference(name: String, impl: Option[TypescriptType] = None) extends TypescriptNamedType with TypescriptAggregateType with Product with Serializable

    This type is used as a marker that a type with this name exists and is either already defined or externally defined Not a real Typescript type

    This type is used as a marker that a type with this name exists and is either already defined or externally defined Not a real Typescript type

    impl

    The implementation of the type if it is known, so that the nested types can be outputted even if not directly referenced

    Note

    name takes from [Typescript specification](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#3.8.2)

  14. case class TSUnion(of: Seq[TypescriptType]) extends TypescriptAggregateType with Product with Serializable
  15. sealed trait TypescriptAggregateType extends TypescriptType

    A marker trait for a TS type that can contain nested types

  16. sealed trait TypescriptNamedType extends TypescriptType

    A marker trait for a TS type that has a name

  17. type TSExternalName = TSTypeReference
    Annotations
    @deprecated
    Deprecated

    (Since version Renamed to TSTypeReference) 0.2.0

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def nameOrType(tpe: TypescriptType): TypescriptType

    Get a reference to a named type, or the type itself if it is unnamed or built-in

  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  21. object TSAny extends TypescriptType with Product with Serializable
  22. object TSBoolean extends TypescriptType with Product with Serializable
  23. object TSIntersection extends Serializable
  24. object TSNever extends TypescriptType with Product with Serializable
  25. object TSNull extends TypescriptType with Product with Serializable
  26. object TSNumber extends TypescriptType with Product with Serializable
  27. object TSObject extends TypescriptType with Product with Serializable
  28. object TSString extends TypescriptType with Product with Serializable
  29. object TSTuple extends Serializable
  30. object TSUndefined extends TypescriptType with Product with Serializable
  31. object TSUnion extends Serializable
  32. object TSVoid extends TypescriptType with Product with Serializable
  33. object TypescriptAggregateType
  34. object TypescriptNamedType

Inherited from AnyRef

Inherited from Any

Ungrouped