Trying to build my Typescript project that uses this package throws an error.
node_modules/cruddl/dist/src/execution/schema-executor.d.ts:7:10 - error TS2440: Import declaration conflicts with local declaration of 'SchemaExecutionArgs'.
import { SchemaExecutionArgs } from './schema-executor';
~~~~~~~~~~~~~~~~~~~
tsconfig.json
{
"compilerOptions": {
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"strict": true, /* Enable all strict type-checking options. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
}
}
Trying to build my Typescript project that uses this package throws an error.
node_modules/cruddl/dist/src/execution/schema-executor.d.ts:7:10 - error TS2440: Import declaration conflicts with local declaration of 'SchemaExecutionArgs'.
tsconfig.json