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

Function finalizeExport

ark/schema/scope.ts:1286–1290  ·  view source on GitHub ↗
(
	$: BaseScope,
	resolution: BaseRoot | GenericRoot
)

Source from the content-addressed store, hash-verified

1284 (isResolvable(resolution) && !uncheckedPending())
1285
1286export const finalizeExport = (
1287 $: BaseScope,
1288 resolution: BaseRoot | GenericRoot
1289): BaseRoot | GenericRoot =>
1290 hasArkKind(resolution, "root") ? $.fin(resolution) : resolution
1291
1292const openDefinitions: BaseParseContext[] = []
1293const openMembers: BaseParseContext[] = []

Callers 3

resolveMethod · 0.90
resolveFunction · 0.90
resolveFunction · 0.85

Calls 2

hasArkKindFunction · 0.90
finMethod · 0.45

Tested by

no test coverage detected