From a90f0d165b8f9c65377828b9f45b1649705dd6c3 Mon Sep 17 00:00:00 2001 From: felher Date: Fri, 4 Sep 2020 11:12:49 +0200 Subject: [PATCH] remove outdated difference of match types with TS Typescript supports binding of variables within the pattern --- docs/docs/reference/new-types/match-types.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/docs/reference/new-types/match-types.md b/docs/docs/reference/new-types/match-types.md index 2126ffbd8467..50563243d5ce 100644 --- a/docs/docs/reference/new-types/match-types.md +++ b/docs/docs/reference/new-types/match-types.md @@ -243,7 +243,6 @@ main differences here are: - Conditional types only reduce if both the scrutinee and pattern are ground, whereas match types also work for type parameters and abstract types. - - Match types can bind variables in type patterns. - Match types support direct recursion. - Conditional types distribute through union types.