Skip to content

Fix "Cannot find module" errors in TypeScript test files #416

@Jerrylum

Description

@Jerrylum

Both Visual Studio Code and tsc emit the error TS2307: Cannot find module 'fabric-contract-api' or its corresponding type declarations.. It can be solved by adding "../../types/" as type package to **/test/typescript/tsconfig.json

Before:
image

After:
image

Patch commit: Jerrylum@4b3a2ca

Related to #415

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions