From 3d14f98b9eaf88bcbbf72b36541310ac9b06d5fc Mon Sep 17 00:00:00 2001 From: Max Duval Date: Thu, 11 Apr 2024 14:21:57 +0100 Subject: [PATCH] docs: point to new TS handbook (#40) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff16b78..6b354cf 100644 --- a/README.md +++ b/README.md @@ -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