"Fossies" - the Fresh Open Source Software Archive

Member "deno-1.34.2/cli/tests/testdata/run/005_more_imports.ts" (9 Jun 2023, 212 Bytes) of package /linux/www/deno-1.34.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 import { printHello3, returnsFoo2, returnsHi } from "../subdir/mod1.ts";
    2 
    3 printHello3();
    4 
    5 if (returnsHi() !== "Hi") {
    6   throw Error("Unexpected");
    7 }
    8 
    9 if (returnsFoo2() !== "Foo") {
   10   throw Error("Unexpected");
   11 }