writer

package
v2.1.2212-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImports added in v2.2.0

func NewImports(target module.Module) *imports

func TsConfig

func TsConfig() generator.Config

Types

type Writer added in v2.2.0

type Writer struct {
	generator.Writer

	Imports *imports
	// contains filtered or unexported fields
}

func New added in v2.2.0

func New(module module.Module) *Writer

func (*Writer) Indented added in v2.2.0

func (w *Writer) Indented() *Writer

func (*Writer) IndentedWith added in v2.2.0

func (w *Writer) IndentedWith(size int) *Writer

func (*Writer) ToCodeFile added in v2.2.0

func (w *Writer) ToCodeFile() *generator.CodeFile

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL