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

Home Page:http://ant.design/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Giving typescript related issues while creating build

xEnabler opened this issue · comments

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!