MCPcopy
hub / github.com/arktypeio/arktype / map

Method map

ark/type/variants/object.ts:118–118  ·  view source on GitHub ↗
(
		// v isn't used directly here but helps TS infer a precise type for transformed
		flatMapEntry: (entry: typePropOf<t, $>) => transformed
	)

Source from the content-addressed store, hash-verified

116 partial(): Type<{ [k in keyof t]?: t[k] }, $>
117
118 map<
119 transformed extends listable<MappedTypeProp>,
120 r = Type<constructMapped<t, transformed>, $>
121 >(

Callers 15

parseTsVersionsFunction · 0.65
forTypeScriptVersionsFunction · 0.65
getTsLibFilesFunction · 0.65
analyzeProjectAssertionsFunction · 0.65
getAssertionsInFileFunction · 0.65
analyzeAssertCallFunction · 0.65
getJSDocFromSymbolFunction · 0.65
serializeArgFunction · 0.65

Calls

no outgoing calls

Tested by 1

snapshottablePropsFunction · 0.52