summaryrefslogtreecommitdiff
path: root/tests/specs/test/doc/main.ts
blob: 213a9f44d3d172ddbeb6bf58e1b4313e3ccb180f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
 * ```
 * import * as doc from "./main.ts";
 * ```
 *
 * ```js
 * import * as doc from "./main.ts";
 * ```
 *
 * ```jsx
 * import * as doc from "./main.ts";
 * ```
 *
 * ```ts
 * import * as doc from "./main.ts";
 * ```
 *
 * ```tsx
 * import * as doc from "./main.ts";
 * ```
 *
 * ```text
 * import * as doc from "./main.ts";
 * ```
 *
 * @module doc
 */

/**
 * ```ts
 * import { check } from "./main.ts";
 *
 * console.assert(check() == 42);
 * ```
 */
export function check(): string {
  return "check";
}