5 lines
135 B
TypeScript
5 lines
135 B
TypeScript
function readInput(day: string): string {
|
|
return Deno.readTextFileSync('./inputs/' + day + '.txt').trim()
|
|
}
|
|
|
|
export { readInput };
|