SingleFilePrinter
Prints all the generated code the a single file.
The default file name is scala.ts
.
A custom file name can be specified using the scala-ts.single-filename
system property.
Value members
Concrete methods
Inherited methods
- Inherited from:
- Function4
Prints TypeScript imports from the required types.
If the system property scala-ts.printer.import-pattern
Prints TypeScript imports from the required types.
If the system property scala-ts.printer.import-pattern
- Value parameters:
- importPath
the function applied to each required type to determine the import path
- Inherited from:
- BasePrinter
If the system property scala-ts.printer.prelude-url
is defined,
then print the content from the URL as prelude to the given stream.
If the system property scala-ts.printer.prelude-url
is defined,
then print the content from the URL as prelude to the given stream.
- Inherited from:
- BasePrinter