tvl-depot/deepmind/part_two/reverse-string-in-place.ts
William Carroll 85cdd46f00 Attempt to support TypeScript for coding challenges
I was a bit weaker than I expected to be in my most recent interview using
TypeScript. To improve, I think I'd like to attempt solving some of the
InterviewCake.com questions using TypeScript.

If you've read the previous commits, the inspiration for `run` arose because I
need to call `npx ts-code <file>`, which is easy enough to remember, but I'd
still rather just call `run <file>`.
2020-02-11 17:11:19 +00:00

6 lines
94 B
TypeScript

function main(x: number) {
console.log(x + 1);
console.log("Hello, world.");
}
main(10);