Closed NarHakobyan closed 5 years ago
You should not import from dist...
You should import from typeorm-transactional-cls-hooked
import { initializeTransactionalContext, patchTypeORMRepositoryWithBaseRepository } from 'typeorm-transactional-cls-hooked';
In that case typings autocomplete is not working
It should work, will investigate.
@NarHakobyan - I just created a simple typescript project
intellisense works
Am I missing something?
also, webstorm autoimport imports from dist
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
please remove types from dist folder, if we are not importing from dist types are not working