Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bazel] Emit Type Definitions #1487

Open
wrangelvid opened this issue Nov 8, 2024 · 0 comments
Open

[Bazel] Emit Type Definitions #1487

wrangelvid opened this issue Nov 8, 2024 · 0 comments
Assignees

Comments

@wrangelvid
Copy link

I tried to add --emit-tsd [some file path] to the linker options, however the build complained that tsc is not available from the emscripten workspace. From my understanding, these lines check that tsc is globally available or via npm. I attempted a few things to incorporate typescript via rules_js from Aspect Build without much success. Without sandboxing and with a global installation of typescript, it works just fine.

What is the recommended approach to maintain sandboxing when emitting types?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants