MCPcopy Create free account
hub / github.com/arktypeio/arktype / warningsOf

Function warningsOf

ark/aot/unplugin.ts:2449–2452  ·  view source on GitHub ↗
(usage: ScannedUsage)

Source from the content-addressed store, hash-verified

2447}
2448
2449const warningsOf = (usage: ScannedUsage): string[] =>
2450 [usage.unpruned, usage.lost, usage.larger].filter(
2451 warning => warning !== undefined
2452 )
2453
2454const unreadMessageOf = (e: unknown): string =>
2455 writeUnprunedMessage(`reading the bundle's modules threw ${String(e)}`)

Callers 3

answerBuiltFunction · 0.70
rollupScanOfFunction · 0.70
esbuildScanOfFunction · 0.70

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected