I installed Deno 1.0.5 on Windows 10, using Chocolatey. I tried to use Typescript in the Deno REPL, but apparently it cannot recognize TypeScript variable declarations if the type is set:
C:\>deno
Deno 1.0.5
exit using ctrl+d or close()
> let x: number;
Uncaught SyntaxError: Unexpected token ':'
at evaluate ($deno$/repl.ts:54:34)
at Object.replLoop ($deno$/repl.ts:156:13)
> let x: number = 42;
Uncaught SyntaxError: Unexpected token ':'
at evaluate ($deno$/repl.ts:54:34)
at Object.replLoop ($deno$/repl.ts:156:13)
> let x = 42;
undefined
> x
42
Do I need to do something special to make Deno CLI support TypeScript?