高级Fern 定义中的导入提问|复制页面|以 Markdown 格式查看|更多操作导入允许您引用其他文件中的类型和错误。 person.yml1types:2 Person: ... family.yml1imports:2 person: ./path/to/person.yml3types:4 Family:5 properties:6 people: list<person.Person> # use an imported type 请注意,您只能导入 Fern 定义中存在的文件(即,在同一个 definition/ 文件夹中)。