79734231

Date: 2025-08-13 11:44:30
Score: 2
Natty:
Report link

About your first question,

This is my output:

> 1+1
2

Now for your second question, this snippet should give you an error something like this:

> const n: number = "string"
<repl>.ts:7:7 - error TS2322: Type 'string' is not assignable to type 'number'.

You can try:

> const n: number = 5;
undefined
> n
5

I can't find any solution to your problem, you should try reinstalling the typescript again

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Umang Kosrekar