https://github.com/abailly/react-ts-import-module
Reproducting with a small example troubles importing modules with React/ts
https://github.com/abailly/react-ts-import-module
Last synced: 2 months ago
JSON representation
Reproducting with a small example troubles importing modules with React/ts
- Host: GitHub
- URL: https://github.com/abailly/react-ts-import-module
- Owner: abailly
- Created: 2018-07-12T21:01:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T21:01:42.000Z (almost 8 years ago)
- Last Synced: 2025-02-24T13:46:20.552Z (over 1 year ago)
- Language: TypeScript
- Size: 207 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sample code demonstrating issues with import from a typescript lib into a typescript/React app.
See https://stackoverflow.com/questions/51311616/imported-symbol-from-typescript-library-is-undefined
* `lib`: Contains the library `@rex/lib` which should be published to eg. verdaccio
* `app`: Contains a React app created with https://github.com/wmonk/create-react-app-typescript but with dependencies on `@rex/lib`
Code compiles fine but imported symbol `fetchFoo` is undefined in app.