-
-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Description
The SingleCascaderProps.onChange conflicts with BaseCascaderProps.onChange when i set typescript compilerOptions.strict or compilerOptions.strictFunctionTypes.
// tsconfig.json
// rc-cascader@3.0.0-alpha.6
{
"compilerOptions": {
"jsx": "react",
"target": "ES5",
"module": "commonjs",
"lib": ["dom", "es2017", "ES2018", "ES2019", "ES2020"],
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"declaration": true,
"importHelpers": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
// "strict": true,
"strictFunctionTypes": true,
"outDir": "./lib",
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"moduleResolution": "node"
},
}ThomasCrevoisier
Metadata
Metadata
Assignees
Labels
No labels
