Example projet to reproduce augmentation issue when importing external package as a library.
To reproduce, follow these exact steps:
- Clone the repository
- Open
library
folder and runnpm i
- Open
library
folder and runnpm run build
- Open
main
folder and runnpm i
(make sure to buildlibrary
before doing this) - Open ./main/src/index.ts file
- Compare with Typescript Playground
Important things to notice: