the parent declaration mapper
the current settings
the resolved type mapper
the field mapper
the transpiled declaration to be emitted
the optional context (useful for conditional while composing)
the printer to output the code
Some print operation, or None if declaration
is not handled
Maps
SingletonDeclaration
as TypeScriptconst
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.