From dc717bd7d12db4cf84c9ea365a2cd89a6e196447 Mon Sep 17 00:00:00 2001 From: Oscar Mattsson Date: Mon, 19 Oct 2020 15:21:27 +0200 Subject: [PATCH] Fixed outdated typescriptlang.org link in comment (#5544) The link in the comment pointed to an anchor which didn't exist on the page, so I did a search on the anchor and found out the information had moved to a separate page. --- src/compiler/compile/nodes/interfaces.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/nodes/interfaces.ts b/src/compiler/compile/nodes/interfaces.ts index 51d7b17e07..d71d191cf4 100644 --- a/src/compiler/compile/nodes/interfaces.ts +++ b/src/compiler/compile/nodes/interfaces.ts @@ -32,7 +32,7 @@ import Transition from './Transition'; import Window from './Window'; // note: to write less types each of types in union below should have type defined as literal -// https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions +// https://www.typescriptlang.org/docs/handbook/unions-and-intersections.html#discriminating-unions export type INode = Action | Animation | Attribute