This repository has been archived by the owner on Oct 30, 2022. It is now read-only.
Typescript fails to compile when including unmock as a package dependency #383
Labels
bug
Something isn't working
Description
Unmock fails to compile because of a type import
Steps to Reproduce
tsc
Expected Result
Should compile.
Actual Result
Fails with this error:
Additional Context
To fix the bug, I'd recommend hoisting all imports to a top-level namespace. As the
src
directory is not packaged (only thedist
one is),unmock-node
cannot findunmock-core/src
.The text was updated successfully, but these errors were encountered: