From a3dfbae384fee9242f697a7b2feba8c891be6355 Mon Sep 17 00:00:00 2001 From: Konstantin Bagrov Date: Fri, 15 Dec 2023 12:53:24 +0700 Subject: [PATCH] Change `Array` to `ReadonlyArray` in CSS type declarations, according to change in `csstype` (issue #3136) --- packages/serialize/types/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/serialize/types/index.d.ts b/packages/serialize/types/index.d.ts index 8f41fce31..bd5cbebc9 100644 --- a/packages/serialize/types/index.d.ts +++ b/packages/serialize/types/index.d.ts @@ -15,7 +15,8 @@ export type CSSPropertiesWithMultiValues = { export type CSSPseudos = { [K in CSS.Pseudos]?: CSSObject } -export interface ArrayCSSInterpolation extends Array {} +export interface ArrayCSSInterpolation + extends ReadonlyArray {} export type InterpolationPrimitive = | null