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

MaybeToken type is missing in lib containing resolve/wire/inject #67

Open
hbroer opened this issue Sep 3, 2024 · 0 comments
Open

MaybeToken type is missing in lib containing resolve/wire/inject #67

hbroer opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hbroer
Copy link
Contributor

hbroer commented Sep 3, 2024

if a lib exports inject/resolve/wire and sets moduleResolution to bundler the type of MaybeToken kan not be found because it is declared as import("@owja/ioc/dist/ioc/types").MaybeToken and not import("@owja/ioc").MaybeToken.

Solution: Export MaybeToken from index

@hbroer hbroer added the bug Something isn't working label Sep 3, 2024
@hbroer hbroer self-assigned this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant