Open Kazooki123 opened 2 months ago
what's in your tsconfig.json?
{
"compilerOptions": {
"target": "es6",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
Let me know if it's finally fixed or there is a solution. Thank you in advance.
Describe the bug
In
chart.tsx
or incomponents/ui/charts.tsx
in line 11:An error occured saying "'k' is defined but never used.".
Any ways or solutions to fix this?
Affected component/components
chart.tsx
How to reproduce
components/ui/chart.tsx
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting