mirror of
https://github.com/denoland/deno.git
synced 2025-01-09 15:48:16 -05:00
15 lines
339 B
TypeScript
15 lines
339 B
TypeScript
// NOTE: Ensure that source maps are handled correctly by adding a type which
|
|
// will be removed during transpilation
|
|
type Dummy = {
|
|
_: string;
|
|
};
|
|
|
|
export function used(condition: boolean): boolean {
|
|
// deno-coverage-ignore-next
|
|
if (condition) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
// deno-coverage-ignore-next
|
|
function unused() {}
|