io.github.scalats.core
Type members
Classlikes
The implementations must be class with a no-arg constructor.
The implementations must be class with a no-arg constructor.
See:
- Companion:
- object
Default emitter.
Default emitter.
- Value parameters:
- out
the function to select a
PrintStream
from type name
Functional type to customize the field naming and access.
Functional type to customize the field naming and access.
import scala.collection.immutable.Set
import io.github.scalats.ast.TypeRef
import io.github.scalats.core.{
Settings, Field, FieldMapper
}
class CustomFieldMapper extends FieldMapper {
def apply(
settings: Settings,
ownerType: String,
propertyName: String,
propertyType: TypeRef) =
Field("_" + propertyName, Set.empty)
}
- Companion:
- object
Resolves the imports for TypeScript declarations. Must be consistent with applied Printer and DeclarationMapper.
Resolves the imports for TypeScript declarations. Must be consistent with applied Printer and DeclarationMapper.
The implementations must be class with a no-arg constructor.
- Companion:
- object
Created by Milosz on 09.12.2016.
Created by Milosz on 09.12.2016.
- Value parameters:
- optionToNullable
generate nullable type as
T | null
- Companion:
- object
Created by Milosz on 09.06.2016.
Created by Milosz on 09.06.2016.
The implementations must be class with a no-arg constructor.
The implementations must be class with a no-arg constructor.
See:
- Companion:
- object