Identity

object Identity extends FieldMapper

Identity naming

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(settings: Settings, ownerType: String, propertyName: String, propertyType: TypeRef): Field

Returns the TypeScript field/signature for the given field name (e.g. fooBar -> foo_bar if snake case is used).

Returns the TypeScript field/signature for the given field name (e.g. fooBar -> foo_bar if snake case is used).

Value parameters:
ownerType

the name of Scala class/interface for which the property is defined

propertyName

the property name

propertyType

the type transpiled for the specified property

Inherited methods

def curried: T1 => T2 => T3 => T4 => R
Inherited from:
Function4
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Inherited from:
FieldMapper
def tupled: ((T1, T2, T3, T4)) => R
Inherited from:
Function4