3 ms·
> @ts-expect-error I glad to see this. One of the most painful moment was when writing tests in TS. You will have to deal with countless type errors. Although
by kbumsik 6y ago
> @ts-expect-error
I glad to see this. One of the most painful moment was when writing tests in TS. You will have to deal with countless type errors.
Although @ts-expect-error will partially solve the problem, what I have learned is don't write tests in TS - you should test it in the real runtime environment where there is no type checking.