Open jasonkuhrt opened 6 years ago
The include
probably isn't being respected. If you add a /// <reference path="../lib.d.ts" />
does it work?
@azz Where exactly should I put that?
At the top of src/server.ts
(just temporarily to diagnose)
Ok I'll try that, should have some time later today.
@azz confirmed that works!
Cool, confirms my suspicion. I'll try and fix it soon, but good that the workaround works :smile:.
@azz Hey, just seeing if this has been fixed. Using the workaround (reference path) for now.
Any plans on fixing this issue? As Jest had been updated to 24.x, ts-jest
no longer can be used with it, and the documentation suggest using jest-runner-tsc
. However, due to this issue I cannot use it either :(
I solved this problem by adding typeRoots
"compilerOptions": {
...
"typeRoots": ["./src/@types", "./node_modules/@types"]
}
@azz When this issue is fixed?
@azz I found a solution, you need to add in tsconfig.ts gain on custom types and be sure to add a subfolder. This solution worked
Any plans on fixing this issue?
Project ok:
But not when checked from within jest runner: