mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
35 lines
561 B
TypeScript
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,
|
|
);
|
|
}
|