Type highlighting
import { Type } from "~/components";
<Type text="Promise<T | string | ArrayBuffer>" />
MetaInfo
import { MetaInfo } from "~/components";
<MetaInfo text="(default: false) optional" />
Combined example
import { Type, MetaInfo } from "~/components";
- `name` <Type text="string" />
- The name of your service.
- `local` <Type text="boolean" /> <MetaInfo text="(default: true) optional" />
- If the service should run locally or not.
这篇文档对你有帮助吗?
谢谢你的反馈!