You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note the ControllerClass is a type alias re-exported from another module @loopback/next which is symbolically linked to @loopback/core by lerna.
TypeScript Version: 2.9.x
2.8.x works fine. It starts to break with TypeScript 2.9.x. It's not fixed by the latest build (typescript@next).
Search Terms:
import symbolic link lerna
Code
https://github.com/strongloop/loopback-next/blob/master/packages/core/src/keys.ts
keys.ts
Please note the
ControllerClass
is a type alias re-exported from another module@loopback/next
which is symbolically linked to@loopback/core
bylerna
.application.ts
Expected behavior:
TypeScript 2.8.x style:
keys.d.ts (emitted by tsc)
Or
Actual behavior:
Please note the relative link is only valid at development time. Once it's published as a npm module, the
import
cannot be resolved.Playground Link:
Related Issues:
loopbackio/loopback-next#1405
The text was updated successfully, but these errors were encountered: