We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36fd2cb commit e7678aaCopy full SHA for e7678aa
1 file changed
src/types.ts
@@ -19,7 +19,7 @@ export type PeraOptions<
19
rootId?: string;
20
/** Whether to enable hot module replacement. (Default: true) */
21
hmr?: boolean;
22
- /** The API endpoints to expose to the client. (Default: {}) */
+ /** The function to register the API endpoints. (Default: undefined) */
23
api?: (app: Hono) => void | Promise<void>;
24
/** The signal to abort the server. (Default: undefined) */
25
signal?: AbortSignal;
0 commit comments