diff options
Diffstat (limited to 'cli/tests/test/doc.ts')
-rw-r--r-- | cli/tests/test/doc.ts | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/cli/tests/test/doc.ts b/cli/tests/test/doc.ts index 9298393eb..52fe6bdf0 100644 --- a/cli/tests/test/doc.ts +++ b/cli/tests/test/doc.ts @@ -1,10 +1,38 @@ /** * ``` - * import { example } from "./doc.ts"; + * import * as doc from "./doc.ts"; + * ``` + * + * ```js + * import * as doc from "./doc.ts"; + * ``` + * + * ```jsx + * import * as doc from "./doc.ts"; + * ``` + * + * ```ts + * import * as doc from "./doc.ts"; + * ``` + * + * ```tsx + * import * as doc from "./doc.ts"; + * ``` + * + * ```text + * import * as doc from "./doc.ts"; + * ``` + * + * @module doc + */ + +/** + * ``` + * import { check } from "./doc.ts"; * - * console.assert(example() == 42); + * console.assert(check() == 42); * ``` */ -export function example(): string { - return "example"; +export function check(): string { + return "check"; } |