I am following 5-minute tutorial of typescript (https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html), and after running tsc greeter.ts
, I am having few warnings/errors including Duplicate identifier PropertyKey
. Since I am doing exactly what is mentioned in tutorial, I'm not sure why this is happening. Could anyone comment?
Asked
Active
Viewed 262 times
0

Mayank
- 17
- 4
-
Do you mind including the full script you have come to write by this point? – shuk Oct 15 '18 at 00:26
-
It's exactly the same as in the link I provided. – Mayank Oct 15 '18 at 00:31
-
Still, the full reference to the way it is written at your premise will be nothing but utterly helpful – shuk Oct 15 '18 at 00:40
-
Please have a look! – Mayank Oct 15 '18 at 00:48
-
Perhaps try upgrading @types/core-js as stated here: https://stackoverflow.com/a/43098264/6872740 – shuk Oct 15 '18 at 01:25