diff --git a/backend-deno/mod.ts b/backend-deno/mod.ts index ea5323ad..f361d59f 100644 --- a/backend-deno/mod.ts +++ b/backend-deno/mod.ts @@ -36,6 +36,7 @@ export type StartServiceConfig = z.infer; * @throws If the service couldn't be started. * * @example + * ```ts * import {startService, JSONCodec} from "./lib.ts"; * * const {nc, serviceName} = await startService(); @@ -45,6 +46,7 @@ export type StartServiceConfig = z.infer; * console.log("Message published!"); * * await nc.drain(); + * ``` */ export async function startService( rawOptions: StartServiceConfig = StartServiceConfigSchema.parse({}),