1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-30 11:16:38 -05:00
denoland-deno/cli/tests/testdata/test/doc.ts

39 lines
508 B
TypeScript
Raw Normal View History

/**
* ```
* 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
*/
/**
* ```ts
* import { check } from "./doc.ts";
*
* console.assert(check() == 42);
* ```
*/
export function check(): string {
return "check";
}