Skip to main content
Go to Latest
import * as mod from "https://deno.land/std@0.166.0/_tools/testdata/02_invalid_imports.ts";

Test data for the program that checks imports in documentation.

import { a, b, c } from "file://a/b/c.ts";
import cheese from "../../goat.ts";
import purr from "https://esm.sh/cat";
import { meow } from "../cat.js";
import { woof } from "./dog.mjs";
import make, { Sound } from "https://cdn.skypack.dev/noise/mod.mjs";
import "https://something.somewhere";
import * as dotenv from "https://deno.land/std/dotenv/mod.ts";
import { assertEquals } from "https://deno.land/std@1.2.3/testing/asserts.ts";
import { walk } from "https://deno.land/std@0.166.0/fs/walk.ts";
import { x, y, z } from "https://example.com/xyz.ts";

let s = make("some noise") as Sound;
import deno from "land";

Functions

f
a

Another JSDoc comment with a code block. This helps testing line number calculation.

f
b

A third one, just to be sure.

f
c

CaSe InSeNsItIvE.

f
d

Without a language specifier, defaulting to TypeScript.

f
e

A language we don't speak yet.