Scott Shepherd
Scott Shepherd
I can't quite tell what the recommended approach is after reading this thread. For me `tsc-files` is choking on on any jest tests that wind up in the staged file...
@gustavopch I'm having success at the moment with ```json "lint-staged": { "**/*.ts?(x)": "tsc-files --noEmit --pretty next-env.d.ts node_modules/@types/jest/index.d.ts @types/millicast.d.ts" } ``` It doesn't work if I change `node_modules/@types/jest/index.d.ts` to `@types/jest.d.ts` where...
... report errors I realized I put the rethrow _inside_ the loop, thus punting at the first sign of trouble! Of course it's possible that just one or two fetches...
I posted a [workaround](https://gist.github.com/dr-skot/4d9fe9d71976ea50d89feddbf731d664)
@davimacedo Sorry, I don't have the fix, just a workaround. I looked in the codebase to see if I could help but I'd need to spend more time than I...
FYI I've updated my [workaround](https://gist.github.com/dr-skot/4d9fe9d71976ea50d89feddbf731d664). It's still just a wrapper around `useParseQuery` that corrects responses 1 and 4 (see tables in previous comment) to responses 2 and 5. Now I'm...