Versions in this module Expand all Collapse all v12 v12.1.9 Aug 12, 2022 Changes in this version + var NoOpLogger = func(string, ...interface{}) + type CompilerOptions struct + AllowJs bool + AllowSyntheticDefaultImports bool + AllowUnreachableCode bool + AllowUnusedLabels bool + Charset string + Declaration bool + Diagnostics bool + EmitBOM bool + EmitDecoratorMetadata bool + ExperimentalDecorators bool + ForceConsistentCasingInFileNames bool + InlineSourceMap bool + InlineSources bool + IsolatedModules bool + Jsx string + ListFiles bool + Locale string + MapRoot string + Module string + ModuleResolution string + NewLine string + NoEmit bool + NoEmitHelpers bool + NoEmitOnError bool + NoFallthroughCasesInSwitch bool + NoImplicitAny bool + NoImplicitReturns bool + NoImplicitUseStrict bool + NoLib bool + NoResolve bool + OutDir string + OutFile string + PreserveConstEnums bool + Pretty bool + ReactNamespace string + RemoveComments bool + RootDir string + SkipDefaultLibCheck bool + SourceMap bool + SourceRoot string + StripInternal bool + SuppressExcessPropertyErrors bool + SuppressImplicitAnyIndexErrors bool + Target string + Watch bool + type Config struct + Bin string + Dir string + Ignore string + Tsconfig *Tsconfig + func DefaultConfig() Config + type Tsconfig struct + CompilerOptions CompilerOptions + Exclude []string + func DefaultTsconfig() Tsconfig + func FromFile(tsConfigAbsPath string) (config Tsconfig, err error) + func (tsconfig *Tsconfig) CompilerArgs() []string + type Typescript struct + Config *Config + func New(cfg ...Config) *Typescript + func (t *Typescript) Run(logger func(format string, a ...interface{}))