diff options
Diffstat (limited to 'tests/specs/test/doc/main.ts')
-rw-r--r-- | tests/specs/test/doc/main.ts | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/specs/test/doc/main.ts b/tests/specs/test/doc/main.ts new file mode 100644 index 000000000..213a9f44d --- /dev/null +++ b/tests/specs/test/doc/main.ts @@ -0,0 +1,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"; +} |