1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/tests/testdata/test/doc.ts

38 lines
506 B
TypeScript

/**
* ```
* 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(check() == 42);
* ```
*/
export function check(): string {
return "check";
}