From 0d144af8f90dde0c1c52806ea568e7f925487db8 Mon Sep 17 00:00:00 2001 From: Jonathan Neal Date: Fri, 16 Jul 2021 15:48:49 -0400 Subject: [PATCH] remove unused type --- packages/core/types/css-util.d.ts | 2 -- packages/react/types/css-util.d.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/core/types/css-util.d.ts b/packages/core/types/css-util.d.ts index b9ffbbf3..4e28b38d 100644 --- a/packages/core/types/css-util.d.ts +++ b/packages/core/types/css-util.d.ts @@ -6,8 +6,6 @@ import type * as Util from './util' /** CSS style declaration object. */ export interface CSSProperties extends CSS.StandardLonghandProperties, CSS.StandardShorthandProperties, CSS.SvgProperties {} -type HasKey = K extends keyof T ? true : false - type ValueByPropertyName = PropertyName extends keyof CSSProperties ? CSSProperties[PropertyName] : never type TokenByPropertyName = PropertyName extends keyof ThemeMap ? TokenByScaleName : never diff --git a/packages/react/types/css-util.d.ts b/packages/react/types/css-util.d.ts index b9ffbbf3..4e28b38d 100644 --- a/packages/react/types/css-util.d.ts +++ b/packages/react/types/css-util.d.ts @@ -6,8 +6,6 @@ import type * as Util from './util' /** CSS style declaration object. */ export interface CSSProperties extends CSS.StandardLonghandProperties, CSS.StandardShorthandProperties, CSS.SvgProperties {} -type HasKey = K extends keyof T ? true : false - type ValueByPropertyName = PropertyName extends keyof CSSProperties ? CSSProperties[PropertyName] : never type TokenByPropertyName = PropertyName extends keyof ThemeMap ? TokenByScaleName : never