Mono repo, include *.d.ts on imports

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/*?



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation