You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
where AbstractStorageService is obviously abstract class. During tests we need to call method from storage service. We are using INestApplicationContext.get() method to retrieve instance of current used storage service.
We are experiencing Argument of type 'typeof AbstractStorageService' is not assignable to parameter of type 'string | symbol | Type<AbstractStorageService>'. typing error.
Expected behavior
Accept abstract class as argument in INestApplicationContext.get().
Environment
Nest version: 5.5.0
For Tooling issues:
- Node version: 10
- Platform: Mac
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
We are using custom provider defined like
where
AbstractStorageService
is obviously abstract class. During tests we need to call method from storage service. We are usingINestApplicationContext.get()
method to retrieve instance of current used storage service.We are experiencing
Argument of type 'typeof AbstractStorageService' is not assignable to parameter of type 'string | symbol | Type<AbstractStorageService>'.
typing error.Expected behavior
Accept abstract class as argument in
INestApplicationContext.get()
.Environment
The text was updated successfully, but these errors were encountered: