Skip to content

Commit

Permalink
docs: point to new TS handbook (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Apr 11, 2024
1 parent 0086049 commit 3d14f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ el.className // TypeScript will report error when compiling
In runtime, if you pass an invalid selector string to `querySelector` or
`querySelectorAll` function, it will throw an error instead of returning
`null` or `undefined` or anything else.
For details, please read [TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/basic-types.html#never).
For details, please read [TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#the-never-type).

## 🔗 Related

Expand Down

0 comments on commit 3d14f98

Please sign in to comment.