HumanSignal / HumanSignal/label-studio
Can't see .d.ts files after building editor
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
I've a React project that uses Nx and TypeScript, where I want to use Label Studio editor inside it.
One of the options that I decided to try is to build libs/editor, then host it on npm registry and include it as a package in my application.
But the issue each time I try to build the editor, it succeed,s but the built files don't contain d.ts files related to types.
So after publishing and trying to use the package in my app, it always fails as it doesn't see any types exist for the editor.
This is the sort of errors that I get when I try to use the built editor,
Any idea how to emit the types files while building the editor, or if there's a better approach to include the editor inside my mono repo, would be much appreciated.
Contributor guide
Assessment
This issue has not been assessed yet.