Situation:
Our monorepo has 2 workspaces: foo
and bar
.
foo
has the files:
src/file.ts
src/@types/baz.d.ts
bar
workspace imports @monorepo/foo/src/file
.
typecheks work from foo
workspace but not from bar
workspace.
How can I ask typescript to include appropriate *.d.ts when importing from @monorepo/foo/*
?
No comments:
Post a Comment