Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DeclarationMapper.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait DeclarationMappertrait (Resolved, Settings, Resolved, FieldMapper, Declaration, Context, PrintStream) => Option[Unit]class Objecttrait Matchableclass Any
- Self type
-
Defaults.type
Maps EnumDeclaration as TypeScript enum (rather than union type as default).
Maps EnumDeclaration as TypeScript enum (rather than union type as default).
Attributes
- Supertypes
-
trait DeclarationMappertrait (Resolved, Settings, Resolved, FieldMapper, Declaration, Context, PrintStream) => Option[Unit]class Objecttrait Matchableclass Any
Maps SingletonDeclaration as TypeScript const and literal type (super interface is ignored).
Maps SingletonDeclaration as TypeScript const 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.
Attributes
- Supertypes
-
trait DeclarationMappertrait (Resolved, Settings, Resolved, FieldMapper, Declaration, Context, PrintStream) => Option[Unit]class Objecttrait Matchableclass Any
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.
Attributes
- Supertypes
-
trait DeclarationMappertrait (Resolved, Settings, Resolved, FieldMapper, Declaration, Context, PrintStream) => Option[Unit]class Objecttrait Matchableclass Any
Maps TaggedDeclaration as TypeScript <valueType> & { <name>: undefined } (rather than type alias for <valueType>).
Maps TaggedDeclaration as TypeScript <valueType> & { <name>: undefined } (rather than type alias for <valueType>).
Attributes
- Supertypes
-
trait DeclarationMappertrait (Resolved, Settings, Resolved, FieldMapper, Declaration, Context, PrintStream) => Option[Unit]class Objecttrait Matchableclass Any