Skip to content

Commit

Permalink
Change Array to ReadonlyArray in CSS type declarations, according…
Browse files Browse the repository at this point in the history
… to change in `csstype` (issue emotion-js#3136)
  • Loading branch information
Cerber-Ursi committed Dec 15, 2023
1 parent 1c60314 commit a3dfbae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/serialize/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export type CSSPropertiesWithMultiValues = {

export type CSSPseudos = { [K in CSS.Pseudos]?: CSSObject }

export interface ArrayCSSInterpolation extends Array<CSSInterpolation> {}
export interface ArrayCSSInterpolation
extends ReadonlyArray<CSSInterpolation> {}

export type InterpolationPrimitive =
| null
Expand Down

0 comments on commit a3dfbae

Please sign in to comment.