MCPcopy Create free account
hub / github.com/microsoft/typescript-go / PrintVersion

Function PrintVersion

internal/execute/tsc/help.go:15–17  ·  view source on GitHub ↗
(sys System, locale locale.Locale)

Source from the content-addressed store, hash-verified

13)
14
15func PrintVersion(sys System, locale locale.Locale) {
16 fmt.Fprintln(sys.Writer(), diagnostics.Version_0.Localize(locale, core.Version()))
17}
18
19func PrintHelp(sys System, locale locale.Locale, commandLine *tsoptions.ParsedCommandLine) {
20 if commandLine.CompilerOptions().All.IsFalseOrUnknown() {

Callers 2

tscBuildCompilationFunction · 0.92
tscCompilationFunction · 0.92

Calls 3

VersionFunction · 0.92
WriterMethod · 0.65
LocalizeMethod · 0.65

Tested by

no test coverage detected