library architecture
NarHakobyan opened this issue · 6 comments
NarHakobyan commented
odavid commented
You should not import from dist...
You should import from typeorm-transactional-cls-hooked
import { initializeTransactionalContext, patchTypeORMRepositoryWithBaseRepository } from 'typeorm-transactional-cls-hooked';
NarHakobyan commented
In that case typings autocomplete is not working
odavid commented
It should work, will investigate.
odavid commented
@NarHakobyan - I just created a simple typescript project
- installed typeorm, typeorm-transactional-cls-hooked, reflect-metadata
Am I missing something?
NarHakobyan commented
odavid commented
Hi @NarHakobyan - Added types to package.json, I believe it will solve the issue.
Will release soon.
Closing it, please reopen if the new release won't work.
Cheers,
Ohad