VS code doesn't show error in editor but during compilation i get: currentUser does not exist on type 'Request'. Its Ts error.
same here. not only that, testing (jest/ts-jest) also fails unless I do:
declare module 'express' { export interface Request { i18n: import('i18next').i18n language: string } }
I am having the same issue. Did you every find a fix for this?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
VS code doesn't show error in editor but during compilation i get:
currentUser does not exist on type 'Request'.
Its Ts error.
same here. not only that, testing (jest/ts-jest) also fails unless I do:
I am having the same issue. Did you every find a fix for this?