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
I think this is not possible from a TypeScript perspective. The reason is that the decl. merging works against the name (path) of a module. When I did that locally, my symlinked plugin retrieved piral-core (and all its modules) locally, i.e., from a different path, than the app shell. Since they are not sharing the same project they have different dependencies (they may be the same functionally, but they have different paths).
A workaround is to npm link ../shell/node_modules/piral-core from the plugin (From within your piral-instance's node_modules folder), but that isn't a great flow.
//piral-instance/index.tsx
cd node_modules/piral-oidc/lib
npm link ../../piral-core
It seems that interface merging is not picked up when a dependency is installed via
npm link
.The text was updated successfully, but these errors were encountered: