owja / ioc

:unicorn: lightweight (<1kb) inversion of control javascript library for dependency injection written in typescript
MIT License
287 stars 13 forks source link

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

Open hbroer opened 2 months ago

hbroer commented 2 months ago

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