diff --git a/.changeset/orange-coins-whisper.md b/.changeset/orange-coins-whisper.md new file mode 100644 index 000000000..b3d0dcfc1 --- /dev/null +++ b/.changeset/orange-coins-whisper.md @@ -0,0 +1,5 @@ +--- +'@compiled/react': minor +--- + +The `requiredPseudos` type property in XCSS prop has been removed. diff --git a/packages/react/src/create-strict-api/__tests__/index.test.tsx b/packages/react/src/create-strict-api/__tests__/index.test.tsx index cf2db2093..891220916 100644 --- a/packages/react/src/create-strict-api/__tests__/index.test.tsx +++ b/packages/react/src/create-strict-api/__tests__/index.test.tsx @@ -658,11 +658,7 @@ describe('createStrictAPI()', () => { }: { testId: string; xcss: ReturnType< - typeof XCSSProp< - 'background' | 'color', - never, - { requiredProperties: 'background'; requiredPseudos: never } - > + typeof XCSSProp<'background' | 'color', never, { requiredProperties: 'background' }> >; }) { return