Skip to content

Commit f68cdbc

Browse files
committed
docs(assert): edit reference link
1 parent b376397 commit f68cdbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/assert.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ function assertIsDefined<T>(
490490

491491
上面示例中,工具类型`NonNullable<T>`对应类型`T`去除空类型后的剩余类型。
492492

493-
如果要将断言函数用于函数表达式,可以采用下面的写法。根据 TypeScript 的[要求](https://github.com/microsoft/TypeScript/pull/33622),这时函数表达式所赋予的变量,必须有明确的类型声明。
493+
如果要将断言函数用于函数表达式,可以采用下面的写法。根据 TypeScript 的[要求](https://github.com/microsoft/TypeScript/pull/33622#issuecomment-575301357),这时函数表达式所赋予的变量,必须有明确的类型声明。
494494

495495
```typescript
496496
type AssertIsNumber =

0 commit comments

Comments
 (0)