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.
2 Likes
Interesting. I don’t know TS too much but my guess is this can be annotations to mark the following line.
1 Like