From f68cdbc9108f332ab1b78f4d1ac95059e9945edb Mon Sep 17 00:00:00 2001 From: ruanyf Date: Mon, 23 Sep 2024 11:12:42 +0800 Subject: [PATCH] docs(assert): edit reference link --- docs/assert.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/assert.md b/docs/assert.md index 7026698..f816bab 100644 --- a/docs/assert.md +++ b/docs/assert.md @@ -490,7 +490,7 @@ function assertIsDefined( 上面示例中,工具类型`NonNullable`对应类型`T`去除空类型后的剩余类型。 -如果要将断言函数用于函数表达式,可以采用下面的写法。根据 TypeScript 的[要求](https://github.com/microsoft/TypeScript/pull/33622),这时函数表达式所赋予的变量,必须有明确的类型声明。 +如果要将断言函数用于函数表达式,可以采用下面的写法。根据 TypeScript 的[要求](https://github.com/microsoft/TypeScript/pull/33622#issuecomment-575301357),这时函数表达式所赋予的变量,必须有明确的类型声明。 ```typescript type AssertIsNumber =