I do have 2 main folders in my project:
src/*.tstest/*.test.ts
In the src folder there is a interface named IImportRow.ts
interface IImportRow {
transactionId?: string;
transactionApiId?: string;
...
}
this interface can be found for every other ts file in the src folder.
However in the test folder the TS cannot find the interface
var row: IImportRow = {
transactionId: '10',
...
};
[ts] Cannot find name 'IImportRow'.
Is this an expected behaviour? What should I do in order to fix it?
here are my tsconfig.json configuration
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"sourceMap": true,
"outDir": "dist",
"strict": false,
"noImplicitAny": false,
"strictPropertyInitialization": false,
"esModuleInterop": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true
},