From 5357e40d88b756b79e24f14bfad7b868b68a58a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Rahir=20=28rar=29?= Date: Mon, 20 Feb 2023 13:22:16 +0100 Subject: [PATCH] [FIX] type: Fix the Alias type The Alias introduced to prevent Intellisense to resolve simple aliases was broken. As a reminder, it allows us for example to type specific string as `UID` and prevent the variables to be noted as `string`later on in the code. --- src/types/misc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/misc.ts b/src/types/misc.ts index 24d1b69b65..3b2a6d326f 100644 --- a/src/types/misc.ts +++ b/src/types/misc.ts @@ -13,7 +13,7 @@ import { Range } from "./range"; * Intellisense from resolving it. * See https://github.com/microsoft/TypeScript/issues/31940#issuecomment-841712377 */ -export type Alias = {}; +export type Alias = {} & {}; // Col/row Index export type HeaderIndex = number & Alias;