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

Function isNotTypeAnnotationContext

internal/format/rulecontext.go:199–201  ·  view source on GitHub ↗
(context *FormattingContext)

Source from the content-addressed store, hash-verified

197}
198
199func isNotTypeAnnotationContext(context *FormattingContext) bool {
200 return !isTypeAnnotationContext(context)
201}
202
203func isTypeAnnotationContext(context *FormattingContext) bool {
204 contextKind := context.contextNode.Kind

Callers

nothing calls this directly

Calls 1

isTypeAnnotationContextFunction · 0.85

Tested by

no test coverage detected