element-react
element-react copied to clipboard
typescript 类型检查 TS7006

如图
@matth3wga0
I have the same error here. How could this be fixed?
@nWidart If your tsconfig.json has the following config:
{
"compilerOptions": {
"noImplicitAny": true,
}
}
TypeScript will be checking every *.d.ts, *.ts, *.tsx files to find implicitly any type.
If you want to disable this feature for the 3rd library, you can update tsconfig.json:
{
"compilerOptions": {
"skipLibCheck": true,
}
}
ps: I think eleme/element-react should remove these warning.