websemantics / awesome-ant-design

A curated list of Ant Design resources and related projects. The main idea is that everyone can contribute here, so we can have a central repository of informations about Ant Design that we keep up-to-date
http://ant.design/
Other
3.15k stars 217 forks source link

Giving typescript related issues while creating build #85

Open xEnabler opened 1 year ago

xEnabler commented 1 year ago

Hi there,

I have used a table feature from the antd with the latest version in react js with nextjs.

"antd": "^5.2.1", "react": "17.0.2", "next": "10.2.3",

import "antd/dist/reset.css" import { Table } from 'antd';

While creating the build it is giving me tsc related issues like stated below in node_modules and I have recreated node_modules again (so you will see node_modules_old folder) - ` image

I am sharing the tsconfig.json file with the current version below - image

Can anyone please suggest if this is a known issue or am I missing something here?

Thanks in advance!