1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 08:39:09 -05:00
denoland-deno/cli/tests/subdir/complex.ts

35 lines
561 B
TypeScript

// This entire interface should be completely ignored by the coverage tool.
export interface Complex {
// These are comments.
foo: string;
// But this is a stub, so this isn't really documentation.
bar: string;
// Really all these are doing is padding the line count.
baz: string;
}
export function complex(
foo: string,
bar: string,
baz: string,
): Complex {
return {
foo,
bar,
baz,
};
}
export function unused(
foo: string,
bar: string,
baz: string,
): Complex {
return complex(
foo,
bar,
baz,
);
}