correct typo

This commit is contained in:
Ayo 2019-10-14 06:32:30 +08:00
parent 343db2a1a7
commit 3768c99afd

View file

@ -39,7 +39,7 @@ Important hint: the string parameter for `createElement` (`'table'` in our examp
Well, this way, the variable `x` will have the type `HTMLTableElement` all the way in your code. Well, this way, the variable `x` will have the type `HTMLTableElement` all the way in your code.
Then, intellisense will work like magic and you will get more helpful code completion like, for our our example... Then, intellisense will work like magic and you will get more helpful code completion like, for our example...
```javascript ```javascript
x.insertRow() // -> will be detected if x is HTMLTableElement, NOT if x is HTMLElement x.insertRow() // -> will be detected if x is HTMLTableElement, NOT if x is HTMLElement