mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 20:59:10 +00:00
20 lines
408 B
TypeScript
20 lines
408 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-start
|
|
if (condition) {
|
|
return false;
|
|
}
|
|
// deno-coverage-ignore-stop
|
|
|
|
return true;
|
|
}
|
|
|
|
// deno-coverage-ignore-start
|
|
function unused() {
|
|
console.log("unused");
|
|
}
|