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

Function writeUntransformedHelperMessage

ark/aot/scan.ts:766–771  ·  view source on GitHub ↗
(
	importer: string,
	exporter: string,
	helper: string
)

Source from the content-addressed store, hash-verified

764}
765
766export const writeUntransformedHelperMessage = (
767 importer: string,
768 exporter: string,
769 helper: string
770): string =>
771 `${exporter} exports ${helper}, a helper the build precompiles at each call, but ${importer} imports it and isn't a module the plugin transforms, so a call to ${helper} there would throw at runtime. Call ${helper} in a module the plugin transforms, like a .ts file, and import what it returns, or move ${helper} to a module ${importer} doesn't import.`
772
773export const writeEntryHelperMessage = (
774 entry: string,

Callers 2

unplugin.test.tsFile · 0.90
unfoldedCallProblemOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected