Skip to content

Commit

Permalink
Fix "Cannot find module" errors in TypeScript test files
Browse files Browse the repository at this point in the history
Add "../../types/" as type package to **/test/typescript/tsconfig.json

Signed-off-by: Jerrylum <serverofjerry@gmail.com>
  • Loading branch information
Jerrylum committed Mar 13, 2024
1 parent 2d94982 commit 4b3a2ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/fabric-contract-api/test/typescript/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
{
"compilerOptions": {
"types": ["../../types/"],
"module": "commonjs",
"target": "es2017",
"sourceMap": true,
Expand Down
1 change: 1 addition & 0 deletions libraries/fabric-shim/test/typescript/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/
{
"compilerOptions": {
"types": ["../../types/"],
"module": "commonjs",
"target": "es2017",
"sourceMap": true,
Expand Down

0 comments on commit 4b3a2ca

Please sign in to comment.