From 68f3d39fea63850fad8c77b39667682f47cd2936 Mon Sep 17 00:00:00 2001 From: zhongsp Date: Fri, 15 Jun 2018 15:07:53 +0800 Subject: [PATCH] what is new in TypeScript 2.8 --- doc/release-notes/TypeScript 2.8.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/release-notes/TypeScript 2.8.md b/doc/release-notes/TypeScript 2.8.md index 8791034..1d409f0 100644 --- a/doc/release-notes/TypeScript 2.8.md +++ b/doc/release-notes/TypeScript 2.8.md @@ -195,7 +195,6 @@ type AnyFunction = (...args: any[]) => any; type ReturnType = T extends (...args: any[]) => infer R ? R : any; ``` - ### 预定义的有条件类型 TypeScript 2.8在`lib.d.ts`里增加了一些预定义的有条件类型: