diff --git a/docs/examples/react-dnd.tsx b/docs/examples/react-dnd.tsx index 1020a18e6..baca16feb 100644 --- a/docs/examples/react-dnd.tsx +++ b/docs/examples/react-dnd.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-unused-expressions */ /* eslint-disable no-unused-expressions */ import React from 'react'; import { createGlobalStyle } from 'styled-components'; @@ -167,7 +168,7 @@ class Demo extends React.Component { ({ index, moveRow: this.moveRow, - } as any) + }) as any } /> ); diff --git a/package.json b/package.json index 17ea90094..9fad2f21f 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,7 @@ "@types/react": "^17.0.35", "@types/react-dom": "^18.0.5", "@types/responselike": "^1.0.0", + "@types/styled-components": "^5.1.32", "@types/testing-library__jest-dom": "^5.14.5", "@umijs/fabric": "^3.0.0", "@vitest/coverage-c8": "^0.31.0", @@ -85,11 +86,11 @@ "glob": "^7.1.6", "husky": "^8.0.3", "immutability-helper": "^3.0.0", + "jsdom": "^23.0.0", "less": "^4.1.3", - "jsdom": "^22.0.0", "lint-staged": "^13.1.0", "np": "^7.0.0", - "prettier": "^2.0.1", + "prettier": "^3.1.0", "rc-animate": "^3.0.0", "rc-dropdown": "~4.0.1", "rc-menu": "~9.6.0",