0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/cli/tests/subdir/complex.ts

36 lines
561 B
TypeScript
Raw Normal View History

// 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,
);
}