correct typo
This commit is contained in:
parent
343db2a1a7
commit
3768c99afd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue