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
Resolves the printer to be used to the specified type (and its required associated types).
Resolves the printer to be used to the specified type (and its required associated types).
- Value parameters:
- configuration
the generator configuration
- kind
the kind of the declaration to be printed
- name
the name of the type whose declaration must be printed
- requires
the type required by the current declaration
Inherited methods
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