Packages

object TSType

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

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. def alias[T](name: String, tsType: TypescriptType): TSNamedType[T]

    Create a Typescript alias "name" for type T, with the definition of tsType

    Create a Typescript alias "name" for type T, with the definition of tsType

    Example:
    1. alias[Foo]("IFoo", TSString) will generate typescript type IFoo = string

  5. def alias[T, Alias](name: String)(implicit tsType: TSType[Alias]): TSNamedType[T]

    Create a Typescript alias "name" for type T, with the definition of Alias

    Create a Typescript alias "name" for type T, with the definition of Alias

    Example:
    1. alias[Foo, String]("IFoo") will generate typescript type IFoo = string

  6. def alias[T, Alias](implicit tsType: TSType[Alias], ct: Manifest[T]): TSNamedType[T]

    Create a Typescript alias "T" for type T, with the definition of Alias

    Create a Typescript alias "T" for type T, with the definition of Alias

    Example:
    1. alias[Foo, String] will generate typescript type Foo = string

  7. def apply[T](tt: TypescriptType): TSType[T]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def external[T](name: String): TSNamedType[T]

    Create "name" as the typescript type for T, with "name" being defined elsewhere external[Foo]("IXyz") will use "IXyz" as the typescript type every time something contains a Foo

  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. macro def fromCaseClass[T]: TSIType[T]

    Generate a typescript interface for a case class

  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def interface[T](members: (String, TypescriptType)*)(implicit ct: Manifest[T]): TSIType[T]

    Create an interface "IClassname" for T

    Create an interface "IClassname" for T

    Example:
    1. interface[Foo]("bar" -> TSString) will output "interface IFoo { bar: string }"

  18. def interface[T](name: String, members: (String, TypescriptType)*): TSIType[T]

    Create an interface "name" for T

    Create an interface "name" for T

    Example:
    1. interface[Foo]("MyFoo", "bar" -> TSString) will output "interface MyFoo { bar: string }"

  19. def interfaceIndexed[T](name: String, indexName: String = "key", indexType: TypescriptType = TSString, valueType: TypescriptType): TSNamedType[T]

    Create an indexed interface for T

    Create an indexed interface for T

    Example:
    1. interfaceIndexed[Foo]("IFooLookup", "key", TSString, TSInt) will output "interface IFooLookup { [key: string] : Int }"

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped