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
Line number selection doesn't use the @ava/typescript provider to resolve the compiled JS file. This means it's parsing the actual TypeScript file which is not supported:
This requires a new protocol identifier, and the file resolver should only be called if available to retain compatibility with the current @ava/typescript version. I can explain more when we get to this point:
Line number selection doesn't use the
@ava/typescript
provider to resolve the compiled JS file. This means it's parsing the actual TypeScript file which is not supported:ava/lib/worker/base.js
Lines 42 to 51 in ac0d75d
We'd need to amend the worker interface to make the file resolver available:
https://github.com/avajs/typescript/blob/34da7bf008bd94e4844562ed86f5446faae6c087/index.js#L152-L168
This requires a new protocol identifier, and the file resolver should only be called if available to retain compatibility with the current
@ava/typescript
version. I can explain more when we get to this point:ava/lib/provider-manager.js
Lines 12 to 14 in ac0d75d
We can then install the providers earlier:
ava/lib/worker/base.js
Lines 123 to 132 in ac0d75d
The text was updated successfully, but these errors were encountered: