Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
franktip committed Dec 23, 2024
1 parent 707a445 commit 1c5dbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/code-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function getEnv(name: string, enforce: boolean = true): string {
console.error(`Please set the ${name} environment variable.`);
process.exit(1);
}
return value;
return value as string;
}

export function isDeclaration(compl: string): boolean {
Expand Down

0 comments on commit 1c5dbe7

Please sign in to comment.