Type.ReplaceFacets(type as type, facets as record) as type
将 type 的 facet 替换为记录 facets 中包含的 facet。
type
facets