I am still suffering from the issue described in #32970
I that issue I provided a repro and that repro was resolved by #33567
However in my actual application I still face the original issue described (the repro was intentionally simplified). Get error TS2742: The inferred type of 'actions' cannot be named without a reference to 'drive-common/node_modules/typescript-fsa'. This is likely not portable. A type annotation is necessary. when using yarn link to link packages for dev.
I have updated my original repro to re-expose the problem. Follow steps below...
clone https://github.com/simonfox/repro-plugin-one
clone https://github.com/simonfox/repro-plugin-two
run yarn for both
run yarn link in plugin two root
run yarn link plugin-two in plugin one root
you will see the issue in src/features/feature-one/actions.ts (you may need to reload the VS Code window after linking).
cc @sheetalkamat
I am still suffering from the issue described in #32970
I that issue I provided a repro and that repro was resolved by #33567
However in my actual application I still face the original issue described (the repro was intentionally simplified). Get
error TS2742: The inferred type of 'actions' cannot be named without a reference to 'drive-common/node_modules/typescript-fsa'. This is likely not portable. A type annotation is necessary.when usingyarn linkto link packages for dev.I have updated my original repro to re-expose the problem. Follow steps below...
clone https://github.com/simonfox/repro-plugin-one
clone https://github.com/simonfox/repro-plugin-two
run
yarnfor bothrun
yarn linkin plugin two rootrun
yarn link plugin-twoin plugin one rootyou will see the issue in src/features/feature-one/actions.ts (you may need to reload the VS Code window after linking).
cc @sheetalkamat