Variable name depricated

Hi everyone,
why is my variable called name considered depricated?

Hi,
I understand it can be annoying and there’s nothing too special in your code as far as I can tell that could cause that.
My guess is simply that there must be some library or part of the API that has a name somewhere and it checks it against anything that is called name. Now it seems to refer to lib.dom.d.ts.

@jmrunkle has answered this in another post.

https://forum.codewithmosh.com/t/primitive-types/15082

2 Likes

What does it mean the explanation on line 17877?

Interesting. I don’t know TS too much but my guess is this can be annotations to mark the following line.

1 Like