MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / isLibFile

Function isLibFile

internal/effecttest/inlay_hints_baseline_test.go:174–177  ·  view source on GitHub ↗
(fileName string)

Source from the content-addressed store, hash-verified

172}
173
174func isLibFile(fileName string) bool {
175 baseName := filepath.Base(fileName)
176 return strings.HasPrefix(baseName, "lib.") && strings.HasSuffix(baseName, ".d.ts")
177}

Callers 1

formatInlayHintBaselineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected