From ef4bcced07eac68d39cf0108080c57d84a665047 Mon Sep 17 00:00:00 2001 From: Liam Ma Date: Fri, 25 Aug 2023 08:48:23 +1000 Subject: [PATCH] Enforce readonly on cssMap --- packages/react/src/css-map/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/css-map/index.ts b/packages/react/src/css-map/index.ts index 357e414576..a15a84fbf1 100644 --- a/packages/react/src/css-map/index.ts +++ b/packages/react/src/css-map/index.ts @@ -20,6 +20,6 @@ import { createSetupError } from '../utils/error'; */ export default function cssMap( _styles: Record | CssObject[]> -): Record> { +): Readonly>>> { throw createSetupError(); }