From 99e55b53375c0878ede38052a4b2d90c95866e10 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Sun, 11 Jul 2021 16:45:46 +0800 Subject: [PATCH] fix: remove unreachable code --- src/css/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/css/index.ts b/src/css/index.ts index 571a3a9..fd3ef68 100644 --- a/src/css/index.ts +++ b/src/css/index.ts @@ -291,6 +291,4 @@ const parse = (descriptor: CSSPropertyDescriptor, style?: string | null) => } break; } - - throw new Error(`Attempting to parse unsupported css format type ${descriptor.format}`); };