object DeclarationMapper
- Alphabetic
- By Inheritance
- DeclarationMapper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final class EnumerationAsEnum extends DeclarationMapper
Maps
EnumDeclaration
as TypeScriptenum
(rather than union type as default). - type Resolved = (Declaration, PrintStream) => Unit
- final class SingletonAsLiteral extends DeclarationMapper
Maps
SingletonDeclaration
as TypeScriptconst
and literal type (super interface is ignored).Maps
SingletonDeclaration
as TypeScriptconst
and literal type (super interface is ignored).- If the singleton doesn't declare any value, uses its name as literal. - If the singleton declares a single value, uses it content as literal. - If the singleton declared multiple values, uses them as literal object.
- final class UnionAsSimpleUnion extends DeclarationMapper
Maps
UnionDeclaration
as simple TypeScript union type (rather than interface as default).Maps
UnionDeclaration
as simple TypeScript union type (rather than interface as default).Declared fields and super interface are ignored.
- final class ValueClassAsTagged extends DeclarationMapper
Maps
TaggedDeclaration
as TypeScript<valueType> & { <name>: undefined }
(rather than type alias for<valueType>
).
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def chain(multi: Seq[DeclarationMapper]): Option[DeclarationMapper]
- Annotations
- @SuppressWarnings()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val enumerationAsEnum: EnumerationAsEnum
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val singletonAsLiteral: SingletonAsLiteral
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val unionAsSimpleUnion: UnionAsSimpleUnion
- lazy val valueClassAsTagged: ValueClassAsTagged
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object Defaults extends DeclarationMapper