From d53418450a5ac865574291bc66ae3cdaf4843da9 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Sat, 11 Feb 2023 21:07:58 +0800 Subject: [PATCH] chore: update link attribute (#2800) * chore: update link attribute * chore: update --- docs/guide/testing-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/testing-types.md b/docs/guide/testing-types.md index fedb5d95febc..789d66214c26 100644 --- a/docs/guide/testing-types.md +++ b/docs/guide/testing-types.md @@ -41,7 +41,7 @@ expectTypeOf(1).toEqualTypeOf() This is due to how [`expect-type`](https://github.com/mmkal/expect-type) handles type errors. -Unfortunately, TypeScript doesn't provide type metadata without patching, so we cannot provide useful error messages at this point, but there are works in TypeScript project to fix this. If you want better messages, please, ask TypeScript team to have a look at mentioned PR. +Unfortunately, TypeScript doesn't provide type metadata without patching, so we cannot provide useful error messages at this point, but there are works in TypeScript project to fix this. If you want better messages, please, ask TypeScript team to have a look at mentioned PR. If you find it hard working with `expectTypeOf` API and figuring out errors, you can always use more simple `assertType` API: