Documentation
¶
Index ¶
Constants ¶
View Source
const LanguageRef = "typescript"
Variables ¶
This section is empty.
Functions ¶
func NewImportMap ¶
func NewImportMap(packagesImportMap map[string]string) *common.DirectImportMap
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
type Config ¶
type Config struct {
PathPrefix string `yaml:"path_prefix"`
// SkipRuntime disables runtime-related code generation when enabled.
// Note: builders can NOT be generated with this flag turned on, as they
// rely on the runtime to function.
SkipRuntime bool `yaml:"skip_runtime"`
// SkipIndex disables the generation of `index.ts` files.
SkipIndex bool `yaml:"skip_index"`
// BuilderTemplatesDirectories holds a list of directories containing templates
// to be used to override parts of builders.
BuilderTemplatesDirectories []string `yaml:"builder_templates"`
// PackagesImportMap associates package names to their import path.
PackagesImportMap map[string]string `yaml:"packages_import_map"`
}
func (*Config) InterpolateParameters ¶
type Language ¶
type Language struct {
// contains filtered or unexported fields
}
func (*Language) CompilerPasses ¶
func (*Language) NullableKinds ¶
func (language *Language) NullableKinds() languages.NullableConfig
Click to show internal directories.
Click to hide internal directories.