Relative Content

Tag Archive for typescriptdeclaration

how to interpret typescript class member using square brackets

I came across the following code snippet while reading some documentation…can someone explain to me how to interpret the following declaration of y within square brackets, at first I thought this was array destructuring, but that does not seem right…