From 7c95129f67a095ab275b7d79464b7c6ad6c1497b Mon Sep 17 00:00:00 2001 From: zklaschka Date: Thu, 14 Dec 2023 21:56:30 +0100 Subject: [PATCH] docs: Fix doc comment in deno lib --- backend-deno/mod.ts | 2 ++ 1 file changed, 2 insertions(+) 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({}),